mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fixed ErrorPageTest Link() usage
This commit is contained in:
parent
6403be518a
commit
87734cdfe1
@ -65,7 +65,7 @@ class ErrorPageTest extends FunctionalTest {
|
||||
$page = $this->objFromFixture('ErrorPage', '403');
|
||||
$page->publish('Stage', 'Live');
|
||||
|
||||
$response = $this->get($page->Link());
|
||||
$response = $this->get($page->RelativeLink());
|
||||
|
||||
$this->assertEquals($response->getStatusCode(), '403');
|
||||
$this->assertNotNull($response->getBody(), 'We have body text from the error page');
|
||||
|
Loading…
Reference in New Issue
Block a user