@@ -94,8 +94,8 @@ |
||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @depends testCreate |
|
| 98 | - */ |
|
| 97 | + * @depends testCreate |
|
| 98 | + */ |
|
| 99 | 99 | |
| 100 | 100 | public function testSort() { |
| 101 | 101 | $client = static::createClient(); |
@@ -4,9 +4,11 @@ discard block |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
| 6 | 6 | |
| 7 | -class UserControllerTest extends WebTestCase { |
|
| 7 | +class UserControllerTest 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/users/'); |
| 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/users/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/users/'); |
| 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/users/'); |
| 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/users/'); |
| 71 | 77 | $this->assertTrue($client->getResponse()->isSuccessful()); |
@@ -79,7 +85,8 @@ discard block |
||
| 79 | 85 | /** |
| 80 | 86 | * @depends testCreate |
| 81 | 87 | */ |
| 82 | - public function testFilter() { |
|
| 88 | + public function testFilter() |
|
| 89 | + { |
|
| 83 | 90 | $client = static::createClient(); |
| 84 | 91 | $crawler = $client->request('GET', '/admin/users/'); |
| 85 | 92 | $form = $crawler->filter('div#filter form button[type="submit"]')->form(array( |
@@ -97,7 +104,8 @@ discard block |
||
| 97 | 104 | * @depends testCreate |
| 98 | 105 | */ |
| 99 | 106 | |
| 100 | - public function testSort() { |
|
| 107 | + public function testSort() |
|
| 108 | + { |
|
| 101 | 109 | $client = static::createClient(); |
| 102 | 110 | $crawler = $client->request('GET', '/admin/users/'); |
| 103 | 111 | $this->assertCount(1, $crawler->filter('table.records_list th')->eq(0)->filter('a i.fa-sort')); |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:16. |
| 7 | 7 | */ |
| 8 | -class GroupTypeTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class GroupTypeTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var GroupType |
@@ -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 GroupType; |
| 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\Form\Type\GroupType::buildForm |
| 33 | 36 | * @todo Implement testBuildForm(). |
| 34 | 37 | */ |
| 35 | - public function testBuildForm() { |
|
| 38 | + public function testBuildForm() |
|
| 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\Form\Type\GroupType::configureOptions |
| 44 | 48 | * @todo Implement testConfigureOptions(). |
| 45 | 49 | */ |
| 46 | - public function testConfigureOptions() { |
|
| 50 | + public function testConfigureOptions() |
|
| 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\Form\Type\GroupType::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.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:16. |
| 7 | 7 | */ |
| 8 | -class UserFilterTypeTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class UserFilterTypeTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var UserFilterType |
@@ -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 UserFilterType; |
| 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\Form\Type\UserFilterType::buildForm |
| 33 | 36 | * @todo Implement testBuildForm(). |
| 34 | 37 | */ |
| 35 | - public function testBuildForm() { |
|
| 38 | + public function testBuildForm() |
|
| 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\Form\Type\UserFilterType::configureOptions |
| 44 | 48 | * @todo Implement testConfigureOptions(). |
| 45 | 49 | */ |
| 46 | - public function testConfigureOptions() { |
|
| 50 | + public function testConfigureOptions() |
|
| 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\Form\Type\UserFilterType::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.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:15. |
| 7 | 7 | */ |
| 8 | -class UserTypeTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class UserTypeTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var UserType |
@@ -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 UserType; |
| 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\Form\Type\UserType::buildForm |
| 33 | 36 | * @todo Implement testBuildForm(). |
| 34 | 37 | */ |
| 35 | - public function testBuildForm() { |
|
| 38 | + public function testBuildForm() |
|
| 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\Form\Type\UserType::configureOptions |
| 44 | 48 | * @todo Implement testConfigureOptions(). |
| 45 | 49 | */ |
| 46 | - public function testConfigureOptions() { |
|
| 50 | + public function testConfigureOptions() |
|
| 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\Form\Type\UserType::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.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:39. |
| 7 | 7 | */ |
| 8 | -class ContactTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class ContactTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var Contact |
@@ -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 Contact; |
| 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\Contact::setAddress |
| 33 | 36 | * @todo Implement testSetAddress(). |
| 34 | 37 | */ |
| 35 | - public function testSetAddress() { |
|
| 38 | + public function testSetAddress() |
|
| 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\Contact::getAddress |
| 44 | 48 | * @todo Implement testGetAddress(). |
| 45 | 49 | */ |
| 46 | - public function testGetAddress() { |
|
| 50 | + public function testGetAddress() |
|
| 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\Contact::setZipcode |
| 55 | 60 | * @todo Implement testSetZipcode(). |
| 56 | 61 | */ |
| 57 | - public function testSetZipcode() { |
|
| 62 | + public function testSetZipcode() |
|
| 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\Contact::getZipcode |
| 66 | 72 | * @todo Implement testGetZipcode(). |
| 67 | 73 | */ |
| 68 | - public function testGetZipcode() { |
|
| 74 | + public function testGetZipcode() |
|
| 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\Contact::setTown |
| 77 | 84 | * @todo Implement testSetTown(). |
| 78 | 85 | */ |
| 79 | - public function testSetTown() { |
|
| 86 | + public function testSetTown() |
|
| 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\Contact::getTown |
| 88 | 96 | * @todo Implement testGetTown(). |
| 89 | 97 | */ |
| 90 | - public function testGetTown() { |
|
| 98 | + public function testGetTown() |
|
| 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\Contact::setPhone |
| 99 | 108 | * @todo Implement testSetPhone(). |
| 100 | 109 | */ |
| 101 | - public function testSetPhone() { |
|
| 110 | + public function testSetPhone() |
|
| 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\Contact::getPhone |
| 110 | 120 | * @todo Implement testGetPhone(). |
| 111 | 121 | */ |
| 112 | - public function testGetPhone() { |
|
| 122 | + public function testGetPhone() |
|
| 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\Contact::setFax |
| 121 | 132 | * @todo Implement testSetFax(). |
| 122 | 133 | */ |
| 123 | - public function testSetFax() { |
|
| 134 | + public function testSetFax() |
|
| 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\Contact::getFax |
| 132 | 144 | * @todo Implement testGetFax(). |
| 133 | 145 | */ |
| 134 | - public function testGetFax() { |
|
| 146 | + public function testGetFax() |
|
| 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\Contact::setMail |
| 143 | 156 | * @todo Implement testSetMail(). |
| 144 | 157 | */ |
| 145 | - public function testSetMail() { |
|
| 158 | + public function testSetMail() |
|
| 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\Contact::getMail |
| 154 | 168 | * @todo Implement testGetMail(). |
| 155 | 169 | */ |
| 156 | - public function testGetMail() { |
|
| 170 | + public function testGetMail() |
|
| 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\Contact::setContact |
| 165 | 180 | * @todo Implement testSetContact(). |
| 166 | 181 | */ |
| 167 | - public function testSetContact() { |
|
| 182 | + public function testSetContact() |
|
| 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.' |
@@ -175,7 +191,8 @@ discard block |
||
| 175 | 191 | * @covers AppBundle\Entity\Contact::getContact |
| 176 | 192 | * @todo Implement testGetContact(). |
| 177 | 193 | */ |
| 178 | - public function testGetContact() { |
|
| 194 | + public function testGetContact() |
|
| 195 | + { |
|
| 179 | 196 | // Remove the following lines when you implement this test. |
| 180 | 197 | $this->markTestIncomplete( |
| 181 | 198 | 'This test has not been implemented yet.' |
@@ -186,7 +203,8 @@ discard block |
||
| 186 | 203 | * @covers AppBundle\Entity\Contact::setGsm |
| 187 | 204 | * @todo Implement testSetGsm(). |
| 188 | 205 | */ |
| 189 | - public function testSetGsm() { |
|
| 206 | + public function testSetGsm() |
|
| 207 | + { |
|
| 190 | 208 | // Remove the following lines when you implement this test. |
| 191 | 209 | $this->markTestIncomplete( |
| 192 | 210 | 'This test has not been implemented yet.' |
@@ -197,7 +215,8 @@ discard block |
||
| 197 | 215 | * @covers AppBundle\Entity\Contact::getGsm |
| 198 | 216 | * @todo Implement testGetGsm(). |
| 199 | 217 | */ |
| 200 | - public function testGetGsm() { |
|
| 218 | + public function testGetGsm() |
|
| 219 | + { |
|
| 201 | 220 | // Remove the following lines when you implement this test. |
| 202 | 221 | $this->markTestIncomplete( |
| 203 | 222 | 'This test has not been implemented yet.' |
@@ -208,7 +227,8 @@ discard block |
||
| 208 | 227 | * @covers AppBundle\Entity\Contact::getId |
| 209 | 228 | * @todo Implement testGetId(). |
| 210 | 229 | */ |
| 211 | - public function testGetId() { |
|
| 230 | + public function testGetId() |
|
| 231 | + { |
|
| 212 | 232 | // Remove the following lines when you implement this test. |
| 213 | 233 | $this->markTestIncomplete( |
| 214 | 234 | 'This test has not been implemented yet.' |
@@ -219,7 +239,8 @@ discard block |
||
| 219 | 239 | * @covers AppBundle\Entity\Contact::setName |
| 220 | 240 | * @todo Implement testSetName(). |
| 221 | 241 | */ |
| 222 | - public function testSetName() { |
|
| 242 | + public function testSetName() |
|
| 243 | + { |
|
| 223 | 244 | // Remove the following lines when you implement this test. |
| 224 | 245 | $this->markTestIncomplete( |
| 225 | 246 | 'This test has not been implemented yet.' |
@@ -230,7 +251,8 @@ discard block |
||
| 230 | 251 | * @covers AppBundle\Entity\Contact::getName |
| 231 | 252 | * @todo Implement testGetName(). |
| 232 | 253 | */ |
| 233 | - public function testGetName() { |
|
| 254 | + public function testGetName() |
|
| 255 | + { |
|
| 234 | 256 | // Remove the following lines when you implement this test. |
| 235 | 257 | $this->markTestIncomplete( |
| 236 | 258 | '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:30. |
| 7 | 7 | */ |
| 8 | -class SupplierRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class SupplierRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var SupplierRepository |
@@ -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 SupplierRepository; |
| 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\SupplierRepository::getSuppliers |
| 33 | 36 | * @todo Implement testGetSuppliers(). |
| 34 | 37 | */ |
| 35 | - public function testGetSuppliers() { |
|
| 38 | + public function testGetSuppliers() |
|
| 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\SupplierRepository::getSupplierForReassign |
| 44 | 48 | * @todo Implement testGetSupplierForReassign(). |
| 45 | 49 | */ |
| 46 | - public function testGetSupplierForReassign() { |
|
| 50 | + public function testGetSupplierForReassign() |
|
| 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:24. |
| 7 | 7 | */ |
| 8 | -class SettingsTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class SettingsTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var Settings |
@@ -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 Settings; |
| 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\Settings::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\Settings::setInventoryStyle |
| 44 | 48 | * @todo Implement testSetInventoryStyle(). |
| 45 | 49 | */ |
| 46 | - public function testSetInventoryStyle() { |
|
| 50 | + public function testSetInventoryStyle() |
|
| 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\Settings::getInventoryStyle |
| 55 | 60 | * @todo Implement testGetInventoryStyle(). |
| 56 | 61 | */ |
| 57 | - public function testGetInventoryStyle() { |
|
| 62 | + public function testGetInventoryStyle() |
|
| 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\Settings::setCalculation |
| 66 | 72 | * @todo Implement testSetCalculation(). |
| 67 | 73 | */ |
| 68 | - public function testSetCalculation() { |
|
| 74 | + public function testSetCalculation() |
|
| 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\Settings::getCalculation |
| 77 | 84 | * @todo Implement testGetCalculation(). |
| 78 | 85 | */ |
| 79 | - public function testGetCalculation() { |
|
| 86 | + public function testGetCalculation() |
|
| 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\Settings::setFirstInventory |
| 88 | 96 | * @todo Implement testSetFirstInventory(). |
| 89 | 97 | */ |
| 90 | - public function testSetFirstInventory() { |
|
| 98 | + public function testSetFirstInventory() |
|
| 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\Settings::getFirstInventory |
| 99 | 108 | * @todo Implement testGetFirstInventory(). |
| 100 | 109 | */ |
| 101 | - public function testGetFirstInventory() { |
|
| 110 | + public function testGetFirstInventory() |
|
| 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\Settings::setCurrency |
| 110 | 120 | * @todo Implement testSetCurrency(). |
| 111 | 121 | */ |
| 112 | - public function testSetCurrency() { |
|
| 122 | + public function testSetCurrency() |
|
| 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\Settings::getCurrency |
| 121 | 132 | * @todo Implement testGetCurrency(). |
| 122 | 133 | */ |
| 123 | - public function testGetCurrency() { |
|
| 134 | + public function testGetCurrency() |
|
| 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.' |
@@ -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 FamilyLogTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class FamilyLogTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var FamilyLog |
@@ -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 FamilyLog; |
| 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\FamilyLog::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\FamilyLog::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\FamilyLog::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\FamilyLog::jsonSerialize |
| 66 | 72 | * @todo Implement testJsonSerialize(). |
| 67 | 73 | */ |
| 68 | - public function testJsonSerialize() { |
|
| 74 | + public function testJsonSerialize() |
|
| 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\FamilyLog::__toString |
| 77 | 84 | * @todo Implement test__toString(). |
| 78 | 85 | */ |
| 79 | - public function test__toString() { |
|
| 86 | + public function test__toString() |
|
| 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.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:31. |
| 7 | 7 | */ |
| 8 | -class GroupRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class GroupRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var GroupRepository |
@@ -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 GroupRepository; |
| 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 | |