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 ceefe25 commit 534a969Copy full SHA for 534a969
tests/Functional/StaticPageTest.php
@@ -66,4 +66,14 @@ public function testJson()
66
);
67
$this->assertContains('"title":"The Team",', $response->getContent());
68
}
69
+
70
+ public function testErrorPage()
71
+ {
72
+ $client = $this->createClient();
73
+ $client->request('GET', '/en/company/tea');
74
+ $this->assertStatusCode(404, $client);
75
76
+ $response = $client->getResponse();
77
+ $this->assertContains('Oops! An Error Occurred', $response->getContent());
78
+ }
79
0 commit comments