diff --git a/tests/CommentAdminTest.php b/tests/CommentAdminTest.php index 2fbdb49b..9a3cfa92 100644 --- a/tests/CommentAdminTest.php +++ b/tests/CommentAdminTest.php @@ -32,7 +32,7 @@ class CommentAdminTest extends FunctionalTest { $result = $this->get("admin/comments/EditForm/field/Comments/item/$id/delete"); $checkComm = DataObject::get_by_id('PageComment',$id); - $this->assertNull($checkComm); + $this->assertFalse($checkComm); } }