Fixed ErrorPageTest Link() usage

This commit is contained in:
Ingo Schommer 2013-12-06 15:35:53 +01:00
parent 6403be518a
commit 87734cdfe1

View File

@ -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');