@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | class AdminControllerTest extends WebTestCase |
| 14 | 14 | { |
| 15 | - public function testIndex(){ |
|
| 15 | + public function testIndex() { |
|
| 16 | 16 | $client = static::createClient(); |
| 17 | 17 | |
| 18 | 18 | $crawler = $client->request('GET', '/admin/'); |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | $this->assertContains('Statistic', $crawler->filter('h2')->text()); |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - public function testArticles(){ |
|
| 24 | + public function testArticles() { |
|
| 25 | 25 | $client = static::createClient(); |
| 26 | 26 | |
| 27 | 27 | $crawler = $client->request('GET', '/admin/articles'); |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | $this->assertEquals(2, $crawler->filter('tr')->count()); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - public function testTags(){ |
|
| 34 | + public function testTags() { |
|
| 35 | 35 | $client = static::createClient(); |
| 36 | 36 | |
| 37 | 37 | $crawler = $client->request('GET', '/admin/tags'); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $this->assertEquals(3, $crawler->filter('tr')->count()); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function testComments(){ |
|
| 44 | + public function testComments() { |
|
| 45 | 45 | $client = static::createClient(); |
| 46 | 46 | |
| 47 | 47 | $crawler = $client->request('GET', '/admin/comments'); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $this->assertEquals(3, $crawler->filter('tr')->count()); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - public function testUsers(){ |
|
| 54 | + public function testUsers() { |
|
| 55 | 55 | $client = static::createClient(); |
| 56 | 56 | |
| 57 | 57 | $crawler = $client->request('GET', '/admin/users'); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $this->assertEquals(2, $crawler->filter('tr')->count()); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - public function testUsersDelete(){ |
|
| 64 | + public function testUsersDelete() { |
|
| 65 | 65 | $client = static::createClient(); |
| 66 | 66 | |
| 67 | 67 | $crawler = $client->request('GET', '/admin/user/delete/1'); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $crawler->filter('.alert')->text()); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - public function testRoles(){ |
|
| 74 | + public function testRoles() { |
|
| 75 | 75 | $client = static::createClient(); |
| 76 | 76 | |
| 77 | 77 | $crawler = $client->request('GET', '/admin/roles'); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $this->assertEquals(2, $crawler->filter('tr')->count()); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | - public function testRolesDelete(){ |
|
| 84 | + public function testRolesDelete() { |
|
| 85 | 85 | $client = static::createClient(); |
| 86 | 86 | |
| 87 | 87 | $crawler = $client->request('GET', '/admin/role/delete/1'); |