@@ -7,7 +7,8 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:37. |
9 | 9 | */ |
10 | -class ArticleRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
10 | +class ArticleRepositoryTest extends \PHPUnit_Framework_TestCase |
|
11 | +{ |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * @var ArticleRepository |
@@ -18,7 +19,8 @@ discard block |
||
18 | 19 | * Sets up the fixture, for example, opens a network connection. |
19 | 20 | * This method is called before a test is executed. |
20 | 21 | */ |
21 | - protected function setUp() { |
|
22 | + protected function setUp() |
|
23 | + { |
|
22 | 24 | $this->object = new Article(); |
23 | 25 | } |
24 | 26 | |
@@ -26,7 +28,8 @@ discard block |
||
26 | 28 | * Tears down the fixture, for example, closes a network connection. |
27 | 29 | * This method is called after a test is executed. |
28 | 30 | */ |
29 | - protected function tearDown() { |
|
31 | + protected function tearDown() |
|
32 | + { |
|
30 | 33 | |
31 | 34 | } |
32 | 35 | |
@@ -34,7 +37,8 @@ discard block |
||
34 | 37 | * @covers AppBundle\Entity\ArticleRepository::getArticles |
35 | 38 | * @todo Implement testGetArticles(). |
36 | 39 | */ |
37 | - public function testGetArticles() { |
|
40 | + public function testGetArticles() |
|
41 | + { |
|
38 | 42 | // Remove the following lines when you implement this test. |
39 | 43 | $this->markTestIncomplete( |
40 | 44 | 'This test has not been implemented yet.' |
@@ -45,7 +49,8 @@ discard block |
||
45 | 49 | * @covers AppBundle\Entity\ArticleRepository::getArticleFromSupplier |
46 | 50 | * @todo Implement testGetArticleFromSupplier(). |
47 | 51 | */ |
48 | - public function testGetArticleFromSupplier() { |
|
52 | + public function testGetArticleFromSupplier() |
|
53 | + { |
|
49 | 54 | // Remove the following lines when you implement this test. |
50 | 55 | $this->markTestIncomplete( |
51 | 56 | 'This test has not been implemented yet.' |
@@ -6,7 +6,8 @@ |
||
6 | 6 | |
7 | 7 | class ArticleControllerTest extends WebTestCase |
8 | 8 | { |
9 | - public function testIndex() { |
|
9 | + public function testIndex() |
|
10 | + { |
|
10 | 11 | $client = self::createClient(); |
11 | 12 | |
12 | 13 | $crawler = $client->request('GET', '/article'); |
@@ -87,7 +87,8 @@ |
||
87 | 87 | ); |
88 | 88 | } |
89 | 89 | |
90 | - public function testIndex() { |
|
90 | + public function testIndex() |
|
91 | + { |
|
91 | 92 | $client = self::createClient( |
92 | 93 | array(), |
93 | 94 | array( |
@@ -6,7 +6,8 @@ |
||
6 | 6 | |
7 | 7 | class InventoryControllerTest extends WebTestCase |
8 | 8 | { |
9 | - public function testIndex() { |
|
9 | + public function testIndex() |
|
10 | + { |
|
10 | 11 | $client = self::createClient( |
11 | 12 | // array(), |
12 | 13 | // array( |