mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR Fixed BlogHolderFunctionalTest links
This commit is contained in:
parent
4c91dff9b2
commit
8585403409
@ -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'")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user