diff --git a/tests/CommentAdminTest.php b/tests/CommentAdminTest.php index 5eebdc4a..2fbdb49b 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->assertEquals(0, $checkComm->ID); + $this->assertNull($checkComm); } }