diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-13 09:43:14 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-13 09:43:14 +0200 |
commit | f2e5fdc3666a2a6525b4202ab48df05efeebaf5c (patch) | |
tree | f559474e248a33c472fe0b260641866be5c0def3 /src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php | |
parent | a417b869237763ee115982d6367a82aa6174d74e (diff) | |
parent | 86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1 (diff) | |
download | wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.gz wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.zst wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.zip |
Merge pull request #1916 from wallabag/cleanup
Convert array + phpDoc
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php index 1457c807..8af37ea4 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php | |||
@@ -32,9 +32,9 @@ class TagControllerTest extends WallabagCoreTestCase | |||
32 | 32 | ||
33 | $form = $crawler->filter('form[name=tag]')->form(); | 33 | $form = $crawler->filter('form[name=tag]')->form(); |
34 | 34 | ||
35 | $data = array( | 35 | $data = [ |
36 | 'tag[label]' => $this->tagName, | 36 | 'tag[label]' => $this->tagName, |
37 | ); | 37 | ]; |
38 | 38 | ||
39 | $client->submit($form, $data); | 39 | $client->submit($form, $data); |
40 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); | 40 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); |
@@ -53,9 +53,9 @@ class TagControllerTest extends WallabagCoreTestCase | |||
53 | $this->assertEquals(1, count($newEntry->getTags())); | 53 | $this->assertEquals(1, count($newEntry->getTags())); |
54 | 54 | ||
55 | # tag already exists but still not assigned to this entry | 55 | # tag already exists but still not assigned to this entry |
56 | $data = array( | 56 | $data = [ |
57 | 'tag[label]' => 'foo', | 57 | 'tag[label]' => 'foo', |
58 | ); | 58 | ]; |
59 | 59 | ||
60 | $client->submit($form, $data); | 60 | $client->submit($form, $data); |
61 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); | 61 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); |
@@ -82,9 +82,9 @@ class TagControllerTest extends WallabagCoreTestCase | |||
82 | 82 | ||
83 | $form = $crawler->filter('form[name=tag]')->form(); | 83 | $form = $crawler->filter('form[name=tag]')->form(); |
84 | 84 | ||
85 | $data = array( | 85 | $data = [ |
86 | 'tag[label]' => 'foo2, bar2', | 86 | 'tag[label]' => 'foo2, bar2', |
87 | ); | 87 | ]; |
88 | 88 | ||
89 | $client->submit($form, $data); | 89 | $client->submit($form, $data); |
90 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); | 90 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); |