aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-05-16 13:33:39 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commit3772298ee7d8d0708f4e72798600accafa17740b (patch)
treecec625b67642264973bbe856ddf4ff97187aabea /tests/front/controller
parentc79473bd84ab5aba7836d2caaf61847cabaf1e53 (diff)
downloadShaarli-3772298ee7d8d0708f4e72798600accafa17740b.tar.gz
Shaarli-3772298ee7d8d0708f4e72798600accafa17740b.tar.zst
Shaarli-3772298ee7d8d0708f4e72798600accafa17740b.zip
Few optimizations and code readability for tag cloud controller
Diffstat (limited to 'tests/front/controller')
-rw-r--r--tests/front/controller/TagCloudControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/front/controller/TagCloudControllerTest.php b/tests/front/controller/TagCloudControllerTest.php
index 5cbf06a9..352bdee2 100644
--- a/tests/front/controller/TagCloudControllerTest.php
+++ b/tests/front/controller/TagCloudControllerTest.php
@@ -73,7 +73,7 @@ class TagCloudControllerTest extends TestCase
73 }) 73 })
74 ; 74 ;
75 75
76 $result = $this->controller->index($request, $response); 76 $result = $this->controller->cloud($request, $response);
77 77
78 static::assertSame(200, $result->getStatusCode()); 78 static::assertSame(200, $result->getStatusCode());
79 static::assertSame('tag.cloud', (string) $result->getBody()); 79 static::assertSame('tag.cloud', (string) $result->getBody());
@@ -147,7 +147,7 @@ class TagCloudControllerTest extends TestCase
147 }) 147 })
148 ; 148 ;
149 149
150 $result = $this->controller->index($request, $response); 150 $result = $this->controller->cloud($request, $response);
151 151
152 static::assertSame(200, $result->getStatusCode()); 152 static::assertSame(200, $result->getStatusCode());
153 static::assertSame('tag.cloud', (string) $result->getBody()); 153 static::assertSame('tag.cloud', (string) $result->getBody());
@@ -198,7 +198,7 @@ class TagCloudControllerTest extends TestCase
198 }) 198 })
199 ; 199 ;
200 200
201 $result = $this->controller->index($request, $response); 201 $result = $this->controller->cloud($request, $response);
202 202
203 static::assertSame(200, $result->getStatusCode()); 203 static::assertSame(200, $result->getStatusCode());
204 static::assertSame('tag.cloud', (string) $result->getBody()); 204 static::assertSame('tag.cloud', (string) $result->getBody());