mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Fixed SapphireTest->logInWithPermission() spelling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99492 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1091dafdf0
commit
dbec9a4c8a
@ -109,7 +109,7 @@ class CMSMainTest extends FunctionalTest {
|
||||
}
|
||||
|
||||
function testCanPublishPageWithUnpublishedParentWithStrictHierarchyOff() {
|
||||
$this->logInWithPermssion('ADMIN');
|
||||
$this->logInWithPermission('ADMIN');
|
||||
|
||||
SiteTree::set_enforce_strict_hierarchy(true);
|
||||
$parentPage = $this->objFromFixture('Page','page3');
|
||||
@ -177,7 +177,7 @@ class CMSMainTest extends FunctionalTest {
|
||||
|
||||
function testDeletedPagesSiteTreeFilter() {
|
||||
$id = $this->idFromFixture('Page', 'page3');
|
||||
$this->logInWithPermssion('ADMIN');
|
||||
$this->logInWithPermission('ADMIN');
|
||||
$result = $this->get('admin/getfilteredsubtree?filter=CMSSiteTreeFilter_DeletedPages&ajax=1&ID=' . $id);
|
||||
$this->assertEquals(200, $result->getStatusCode());
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ class CommentAdminTest extends FunctionalTest {
|
||||
|
||||
function testacceptmarked(){
|
||||
$id = $this->idFromFixture('PageComment', 'Comment1');
|
||||
$this->logInWithPermssion('ADMIN');
|
||||
$this->logInWithPermission('ADMIN');
|
||||
$result = $this->get('admin/comments/EditForm/field/Comments/item/2/delete');
|
||||
$this->assertEquals(200, $result->getStatusCode());
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ class FilesystemPublisherTest extends SapphireTest {
|
||||
}
|
||||
|
||||
function testHomepageMapIsWithStaticPublishing() {
|
||||
$this->logInWithPermssion('ADMIN');
|
||||
$this->logInWithPermission('ADMIN');
|
||||
|
||||
$p1 = new Page();
|
||||
$p1->URLSegment = strtolower(__CLASS__).'-page-1';
|
||||
|
Loading…
Reference in New Issue
Block a user