aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Module/HelpTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Module/HelpTest.php')
-rw-r--r--tests/unit/Module/HelpTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Module/HelpTest.php b/tests/unit/Module/HelpTest.php
index 2c1d31570..e1aea1a06 100644
--- a/tests/unit/Module/HelpTest.php
+++ b/tests/unit/Module/HelpTest.php
@@ -76,13 +76,13 @@ class HelpTest extends \Zotlabs\Tests\Unit\Module\TestCase {
public function test_get_request_without_args_redirects_to_about_page(): void {
$this->stub_goaway();
$this->expectException(\Zotlabs\Tests\Unit\Module\RedirectException::class);
- $this->expectExceptionMessage('about/about');
+ $this->expectExceptionMessage('about');
$this->get('help');
}
- public function test_getting_locale_with_no_topic_should_redirect_to_about_page_for_locale(): void {
- $this->expectRedirectTo('help/de/about/about');
+ public function test_getting_locale_with_no_topic_should_redirect_to_about_page(): void {
+ $this->expectRedirectTo('help/about');
$this->get('help/de');
}