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:
Ingo Schommer 2010-02-21 21:35:33 +00:00 committed by Sam Minnee
parent 1091dafdf0
commit dbec9a4c8a
3 changed files with 4 additions and 4 deletions

View File

@ -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());
}

View File

@ -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());
}

View File

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