aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php12
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());