MINOR Fixed BlogHolderFunctionalTest links

This commit is contained in:
Sam Minnee 2010-04-28 11:40:25 +00:00
parent 4c91dff9b2
commit 8585403409

View File

@ -19,7 +19,7 @@ class BlogHolderFunctionalTest extends FunctionalTest {
function testFrontendBlogPostRequiresPermission() { function testFrontendBlogPostRequiresPermission() {
// get valid SecurityID (from comments form, would usually be copy/pasted) // get valid SecurityID (from comments form, would usually be copy/pasted)
$blogEntry = $this->objFromFixture('BlogEntry', 'entry1'); $blogEntry = $this->objFromFixture('BlogEntry', 'entry1');
$response = $this->get($blogEntry->Link()); $response = $this->get($blogEntry->RelativeLink());
$securityID = Session::get('SecurityID'); $securityID = Session::get('SecurityID');
// without login // without login
@ -48,4 +48,4 @@ class BlogHolderFunctionalTest extends FunctionalTest {
$this->assertType('BlogEntry', DataObject::get_one('BlogEntry', sprintf("\"Title\" = 'Allowed'"))); $this->assertType('BlogEntry', DataObject::get_one('BlogEntry', sprintf("\"Title\" = 'Allowed'")));
} }
} }