aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/visitor/ShaarliVisitorControllerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2021-01-19 11:48:18 +0100
committerGitHub <noreply@github.com>2021-01-19 11:48:18 +0100
commit2fbdb7d657a37884b8bbd0162b1d79db6aeba726 (patch)
tree12b05377c8555f7775c83e9922b64305febfac9e /tests/front/controller/visitor/ShaarliVisitorControllerTest.php
parent544bbdaf8399c7a9e3c1e8b880e6f0a2fa15a769 (diff)
parentccd1862d5f6f2c0548473466aaff7ee99f9d67d2 (diff)
downloadShaarli-2fbdb7d657a37884b8bbd0162b1d79db6aeba726.tar.gz
Shaarli-2fbdb7d657a37884b8bbd0162b1d79db6aeba726.tar.zst
Shaarli-2fbdb7d657a37884b8bbd0162b1d79db6aeba726.zip
Merge pull request #1687 from ArthurHoaro/feature/template-name
Inject current template name in templates
Diffstat (limited to 'tests/front/controller/visitor/ShaarliVisitorControllerTest.php')
-rw-r--r--tests/front/controller/visitor/ShaarliVisitorControllerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/front/controller/visitor/ShaarliVisitorControllerTest.php b/tests/front/controller/visitor/ShaarliVisitorControllerTest.php
index 935ec24e..7676f14d 100644
--- a/tests/front/controller/visitor/ShaarliVisitorControllerTest.php
+++ b/tests/front/controller/visitor/ShaarliVisitorControllerTest.php
@@ -93,6 +93,9 @@ class ShaarliVisitorControllerTest extends TestCase
93 93
94 static::assertSame('templateName', $render); 94 static::assertSame('templateName', $render);
95 95
96 static::assertSame('templateName', $this->assignedValues['_PAGE_']);
97 static::assertSame('templateName', $this->assignedValues['template']);
98
96 static::assertSame(10, $this->assignedValues['linkcount']); 99 static::assertSame(10, $this->assignedValues['linkcount']);
97 static::assertSame(5, $this->assignedValues['privateLinkcount']); 100 static::assertSame(5, $this->assignedValues['privateLinkcount']);
98 static::assertSame(['error'], $this->assignedValues['plugin_errors']); 101 static::assertSame(['error'], $this->assignedValues['plugin_errors']);