diff --git a/tests/CMSMainTest.php b/tests/CMSMainTest.php index 25d85af3..7f1a0ee1 100644 --- a/tests/CMSMainTest.php +++ b/tests/CMSMainTest.php @@ -160,7 +160,7 @@ class CMSMainTest extends FunctionalTest { function testDeletedPagesSiteTreeFilter() { $id = $this->idFromFixture('Page', 'page3'); - $this->logInWithPermssion('ADMIN'); + $this->logInWithPermission('ADMIN'); $result = $this->get('admin/getsubtree?filter=CMSSiteTreeFilter_DeletedPages&ajax=1&ID=' . $id); $this->assertEquals(200, $result->getStatusCode()); }