// if our custom, middleware-loaded handler fails but this is here
// as a reminder and as a general check in the event of other issues.
$editor = $this->getEditor();
+ $editor->name = 'tester';
+ $editor->save();
+
$this->actingAs($editor);
$notFound = $this->get('/fgfdngldfnotfound');
$notFound->assertStatus(404);
$notFound->assertDontSeeText('Log in');
- $notFound->assertSeeText($editor->getShortName(9));
+ $notFound->assertSeeText('tester');
}
}
\ No newline at end of file