We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59e594 commit c8d893fCopy full SHA for c8d893f
tests/ErrorTest.php
@@ -9,10 +9,13 @@ public function test_404_page_does_not_show_login()
9
// if our custom, middleware-loaded handler fails but this is here
10
// as a reminder and as a general check in the event of other issues.
11
$editor = $this->getEditor();
12
+ $editor->name = 'tester';
13
+ $editor->save();
14
+
15
$this->actingAs($editor);
16
$notFound = $this->get('/fgfdngldfnotfound');
17
$notFound->assertStatus(404);
18
$notFound->assertDontSeeText('Log in');
- $notFound->assertSeeText($editor->getShortName(9));
19
+ $notFound->assertSeeText('tester');
20
}
21
0 commit comments