From 000308fca114cd4cbe85eb801b4e176a3d8cc27b Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 06:07:10 +0000 Subject: [PATCH] MINOR: Fixed test that was relying on bug fixed in r101116 (from r101117) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111638 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/CommentAdminTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }