diff --git a/tests/CMSMainTest.yml b/tests/CMSMainTest.yml index 32285a2b..088d3596 100644 --- a/tests/CMSMainTest.yml +++ b/tests/CMSMainTest.yml @@ -62,3 +62,14 @@ SiteConfig_CreateTopLevelGroups: createtoplevelgroups1: siteconfigid: 1 GroupID: =>Group.rooteditusers +PageComment: + Comment1: + Name: Person + Comment: Very cool page + NeedsModeration: 1 + EmailAddress: person@server.com + Comment2: + Name: Someone + Comment: I am a person + NeedsModeration: 0 + EmailAddress: someone@somewhere.com \ No newline at end of file diff --git a/tests/CommentAdminTest.php b/tests/CommentAdminTest.php index c86ea1b7..f534a41d 100644 --- a/tests/CommentAdminTest.php +++ b/tests/CommentAdminTest.php @@ -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()); }