@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:25. |
7 | 7 | */ |
8 | -class CompanyTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class CompanyTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var Company |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new Company; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
32 | 35 | * @covers AppBundle\Entity\Company::setStatus |
33 | 36 | * @todo Implement testSetStatus(). |
34 | 37 | */ |
35 | - public function testSetStatus() { |
|
38 | + public function testSetStatus() |
|
39 | + { |
|
36 | 40 | // Remove the following lines when you implement this test. |
37 | 41 | $this->markTestIncomplete( |
38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
43 | 47 | * @covers AppBundle\Entity\Company::getStatus |
44 | 48 | * @todo Implement testGetStatus(). |
45 | 49 | */ |
46 | - public function testGetStatus() { |
|
50 | + public function testGetStatus() |
|
51 | + { |
|
47 | 52 | // Remove the following lines when you implement this test. |
48 | 53 | $this->markTestIncomplete( |
49 | 54 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:35. |
7 | 7 | */ |
8 | -class UnitStorageRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class UnitStorageRepositoryTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var UnitStorageRepository |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new UnitStorageRepository; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:27. |
7 | 7 | */ |
8 | -class CompanyRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class CompanyRepositoryTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var CompanyRepository |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new CompanyRepository; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:25. |
7 | 7 | */ |
8 | -class FamilyLogRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class FamilyLogRepositoryTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var FamilyLogRepository |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new FamilyLogRepository; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:34. |
7 | 7 | */ |
8 | -class ZoneStorageRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class ZoneStorageRepositoryTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var ZoneStorageRepository |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new ZoneStorageRepository; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:33. |
7 | 7 | */ |
8 | -class ZoneStorageTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class ZoneStorageTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var ZoneStorage |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new ZoneStorage; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
32 | 35 | * @covers AppBundle\Entity\ZoneStorage::getId |
33 | 36 | * @todo Implement testGetId(). |
34 | 37 | */ |
35 | - public function testGetId() { |
|
38 | + public function testGetId() |
|
39 | + { |
|
36 | 40 | // Remove the following lines when you implement this test. |
37 | 41 | $this->markTestIncomplete( |
38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
43 | 47 | * @covers AppBundle\Entity\ZoneStorage::setName |
44 | 48 | * @todo Implement testSetName(). |
45 | 49 | */ |
46 | - public function testSetName() { |
|
50 | + public function testSetName() |
|
51 | + { |
|
47 | 52 | // Remove the following lines when you implement this test. |
48 | 53 | $this->markTestIncomplete( |
49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
54 | 59 | * @covers AppBundle\Entity\ZoneStorage::getName |
55 | 60 | * @todo Implement testGetName(). |
56 | 61 | */ |
57 | - public function testGetName() { |
|
62 | + public function testGetName() |
|
63 | + { |
|
58 | 64 | // Remove the following lines when you implement this test. |
59 | 65 | $this->markTestIncomplete( |
60 | 66 | 'This test has not been implemented yet.' |
@@ -65,7 +71,8 @@ discard block |
||
65 | 71 | * @covers AppBundle\Entity\ZoneStorage::__toString |
66 | 72 | * @todo Implement test__toString(). |
67 | 73 | */ |
68 | - public function test__toString() { |
|
74 | + public function test__toString() |
|
75 | + { |
|
69 | 76 | // Remove the following lines when you implement this test. |
70 | 77 | $this->markTestIncomplete( |
71 | 78 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:36. |
7 | 7 | */ |
8 | -class SupplierTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class SupplierTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var Supplier |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new Supplier; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
32 | 35 | * @covers AppBundle\Entity\Supplier::setDelaydeliv |
33 | 36 | * @todo Implement testSetDelaydeliv(). |
34 | 37 | */ |
35 | - public function testSetDelaydeliv() { |
|
38 | + public function testSetDelaydeliv() |
|
39 | + { |
|
36 | 40 | // Remove the following lines when you implement this test. |
37 | 41 | $this->markTestIncomplete( |
38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
43 | 47 | * @covers AppBundle\Entity\Supplier::getDelaydeliv |
44 | 48 | * @todo Implement testGetDelaydeliv(). |
45 | 49 | */ |
46 | - public function testGetDelaydeliv() { |
|
50 | + public function testGetDelaydeliv() |
|
51 | + { |
|
47 | 52 | // Remove the following lines when you implement this test. |
48 | 53 | $this->markTestIncomplete( |
49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
54 | 59 | * @covers AppBundle\Entity\Supplier::setOrderdate |
55 | 60 | * @todo Implement testSetOrderdate(). |
56 | 61 | */ |
57 | - public function testSetOrderdate() { |
|
62 | + public function testSetOrderdate() |
|
63 | + { |
|
58 | 64 | // Remove the following lines when you implement this test. |
59 | 65 | $this->markTestIncomplete( |
60 | 66 | 'This test has not been implemented yet.' |
@@ -65,7 +71,8 @@ discard block |
||
65 | 71 | * @covers AppBundle\Entity\Supplier::getOrderdate |
66 | 72 | * @todo Implement testGetOrderdate(). |
67 | 73 | */ |
68 | - public function testGetOrderdate() { |
|
74 | + public function testGetOrderdate() |
|
75 | + { |
|
69 | 76 | // Remove the following lines when you implement this test. |
70 | 77 | $this->markTestIncomplete( |
71 | 78 | 'This test has not been implemented yet.' |
@@ -76,7 +83,8 @@ discard block |
||
76 | 83 | * @covers AppBundle\Entity\Supplier::setFamilyLog |
77 | 84 | * @todo Implement testSetFamilyLog(). |
78 | 85 | */ |
79 | - public function testSetFamilyLog() { |
|
86 | + public function testSetFamilyLog() |
|
87 | + { |
|
80 | 88 | // Remove the following lines when you implement this test. |
81 | 89 | $this->markTestIncomplete( |
82 | 90 | 'This test has not been implemented yet.' |
@@ -87,7 +95,8 @@ discard block |
||
87 | 95 | * @covers AppBundle\Entity\Supplier::getFamilyLog |
88 | 96 | * @todo Implement testGetFamilyLog(). |
89 | 97 | */ |
90 | - public function testGetFamilyLog() { |
|
98 | + public function testGetFamilyLog() |
|
99 | + { |
|
91 | 100 | // Remove the following lines when you implement this test. |
92 | 101 | $this->markTestIncomplete( |
93 | 102 | 'This test has not been implemented yet.' |
@@ -98,7 +107,8 @@ discard block |
||
98 | 107 | * @covers AppBundle\Entity\Supplier::setSubFamilyLog |
99 | 108 | * @todo Implement testSetSubFamilyLog(). |
100 | 109 | */ |
101 | - public function testSetSubFamilyLog() { |
|
110 | + public function testSetSubFamilyLog() |
|
111 | + { |
|
102 | 112 | // Remove the following lines when you implement this test. |
103 | 113 | $this->markTestIncomplete( |
104 | 114 | 'This test has not been implemented yet.' |
@@ -109,7 +119,8 @@ discard block |
||
109 | 119 | * @covers AppBundle\Entity\Supplier::getSubFamilyLog |
110 | 120 | * @todo Implement testGetSubFamilyLog(). |
111 | 121 | */ |
112 | - public function testGetSubFamilyLog() { |
|
122 | + public function testGetSubFamilyLog() |
|
123 | + { |
|
113 | 124 | // Remove the following lines when you implement this test. |
114 | 125 | $this->markTestIncomplete( |
115 | 126 | 'This test has not been implemented yet.' |
@@ -120,7 +131,8 @@ discard block |
||
120 | 131 | * @covers AppBundle\Entity\Supplier::setSlug |
121 | 132 | * @todo Implement testSetSlug(). |
122 | 133 | */ |
123 | - public function testSetSlug() { |
|
134 | + public function testSetSlug() |
|
135 | + { |
|
124 | 136 | // Remove the following lines when you implement this test. |
125 | 137 | $this->markTestIncomplete( |
126 | 138 | 'This test has not been implemented yet.' |
@@ -131,7 +143,8 @@ discard block |
||
131 | 143 | * @covers AppBundle\Entity\Supplier::getSlug |
132 | 144 | * @todo Implement testGetSlug(). |
133 | 145 | */ |
134 | - public function testGetSlug() { |
|
146 | + public function testGetSlug() |
|
147 | + { |
|
135 | 148 | // Remove the following lines when you implement this test. |
136 | 149 | $this->markTestIncomplete( |
137 | 150 | 'This test has not been implemented yet.' |
@@ -142,7 +155,8 @@ discard block |
||
142 | 155 | * @covers AppBundle\Entity\Supplier::__toString |
143 | 156 | * @todo Implement test__toString(). |
144 | 157 | */ |
145 | - public function test__toString() { |
|
158 | + public function test__toString() |
|
159 | + { |
|
146 | 160 | // Remove the following lines when you implement this test. |
147 | 161 | $this->markTestIncomplete( |
148 | 162 | 'This test has not been implemented yet.' |
@@ -153,7 +167,8 @@ discard block |
||
153 | 167 | * @covers AppBundle\Entity\Supplier::setActive |
154 | 168 | * @todo Implement testSetActive(). |
155 | 169 | */ |
156 | - public function testSetActive() { |
|
170 | + public function testSetActive() |
|
171 | + { |
|
157 | 172 | // Remove the following lines when you implement this test. |
158 | 173 | $this->markTestIncomplete( |
159 | 174 | 'This test has not been implemented yet.' |
@@ -164,7 +179,8 @@ discard block |
||
164 | 179 | * @covers AppBundle\Entity\Supplier::isActive |
165 | 180 | * @todo Implement testIsActive(). |
166 | 181 | */ |
167 | - public function testIsActive() { |
|
182 | + public function testIsActive() |
|
183 | + { |
|
168 | 184 | // Remove the following lines when you implement this test. |
169 | 185 | $this->markTestIncomplete( |
170 | 186 | 'This test has not been implemented yet.' |
@@ -4,9 +4,11 @@ discard block |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
6 | 6 | |
7 | -class GroupControllerTest extends WebTestCase { |
|
7 | +class GroupControllerTest extends WebTestCase |
|
8 | +{ |
|
8 | 9 | |
9 | - public function testCreate() { |
|
10 | + public function testCreate() |
|
11 | + { |
|
10 | 12 | $client = static::createClient(); |
11 | 13 | $crawler = $client->request('GET', '/admin/groups/'); |
12 | 14 | $this->assertCount(0, $crawler->filter('table.records_list tbody tr')); |
@@ -19,7 +21,8 @@ discard block |
||
19 | 21 | $this->assertCount(1, $crawler->filter('table.records_list tbody tr')); |
20 | 22 | } |
21 | 23 | |
22 | - public function testCreateError() { |
|
24 | + public function testCreateError() |
|
25 | + { |
|
23 | 26 | $client = static::createClient(); |
24 | 27 | $crawler = $client->request('GET', '/admin/groups/new'); |
25 | 28 | $form = $crawler->filter('form button[type="submit"]')->form(); |
@@ -31,7 +34,8 @@ discard block |
||
31 | 34 | /** |
32 | 35 | * @depends testCreate |
33 | 36 | */ |
34 | - public function testEdit() { |
|
37 | + public function testEdit() |
|
38 | + { |
|
35 | 39 | $client = static::createClient(); |
36 | 40 | $crawler = $client->request('GET', '/admin/groups/'); |
37 | 41 | $this->assertCount(1, $crawler->filter('table.records_list tbody tr:contains("First value")')); |
@@ -50,7 +54,8 @@ discard block |
||
50 | 54 | /** |
51 | 55 | * @depends testCreate |
52 | 56 | */ |
53 | - public function testEditError() { |
|
57 | + public function testEditError() |
|
58 | + { |
|
54 | 59 | $client = static::createClient(); |
55 | 60 | $crawler = $client->request('GET', '/admin/groups/'); |
56 | 61 | $crawler = $client->click($crawler->filter('table.records_list tbody tr td .btn-group a')->eq(1)->link()); |
@@ -65,7 +70,8 @@ discard block |
||
65 | 70 | /** |
66 | 71 | * @depends testCreate |
67 | 72 | */ |
68 | - public function testDelete() { |
|
73 | + public function testDelete() |
|
74 | + { |
|
69 | 75 | $client = static::createClient(); |
70 | 76 | $crawler = $client->request('GET', '/admin/groups/'); |
71 | 77 | $this->assertTrue($client->getResponse()->isSuccessful()); |
@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | /** |
6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:22. |
7 | 7 | */ |
8 | -class InstallControllerTest extends \PHPUnit_Framework_TestCase { |
|
8 | +class InstallControllerTest extends \PHPUnit_Framework_TestCase |
|
9 | +{ |
|
9 | 10 | |
10 | 11 | /** |
11 | 12 | * @var InstallController |
@@ -16,7 +17,8 @@ discard block |
||
16 | 17 | * Sets up the fixture, for example, opens a network connection. |
17 | 18 | * This method is called before a test is executed. |
18 | 19 | */ |
19 | - protected function setUp() { |
|
20 | + protected function setUp() |
|
21 | + { |
|
20 | 22 | $this->object = new InstallController; |
21 | 23 | } |
22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
24 | 26 | * Tears down the fixture, for example, closes a network connection. |
25 | 27 | * This method is called after a test is executed. |
26 | 28 | */ |
27 | - protected function tearDown() { |
|
29 | + protected function tearDown() |
|
30 | + { |
|
28 | 31 | |
29 | 32 | } |
30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
32 | 35 | * @covers AppBundle\Controller\install\InstallController::indexAction |
33 | 36 | * @todo Implement testIndexAction(). |
34 | 37 | */ |
35 | - public function testIndexAction() { |
|
38 | + public function testIndexAction() |
|
39 | + { |
|
36 | 40 | // Remove the following lines when you implement this test. |
37 | 41 | $this->markTestIncomplete( |
38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
43 | 47 | * @covers AppBundle\Controller\install\InstallController::step1Action |
44 | 48 | * @todo Implement testStep1Action(). |
45 | 49 | */ |
46 | - public function testStep1Action() { |
|
50 | + public function testStep1Action() |
|
51 | + { |
|
47 | 52 | // Remove the following lines when you implement this test. |
48 | 53 | $this->markTestIncomplete( |
49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
54 | 59 | * @covers AppBundle\Controller\install\InstallController::step2Action |
55 | 60 | * @todo Implement testStep2Action(). |
56 | 61 | */ |
57 | - public function testStep2Action() { |
|
62 | + public function testStep2Action() |
|
63 | + { |
|
58 | 64 | // Remove the following lines when you implement this test. |
59 | 65 | $this->markTestIncomplete( |
60 | 66 | 'This test has not been implemented yet.' |