diff --git a/lib/Cake/Test/Case/View/ScaffoldViewTest.php b/lib/Cake/Test/Case/View/ScaffoldViewTest.php index d24e2f746cb..7541556c3b9 100644 --- a/lib/Cake/Test/Case/View/ScaffoldViewTest.php +++ b/lib/Cake/Test/Case/View/ScaffoldViewTest.php @@ -281,7 +281,7 @@ public function testViewScaffold() { //TODO: add specific tests for fields. $this->assertRegExp('/1<\/a>/', $result); //belongsTo links $this->assertRegExp('/
  • Edit Scaffold Mock<\/a>\s<\/li>/', $result); - $this->assertRegExp('/
  • ]*>Delete Scaffold Mock<\/a>\s*<\/li>/', $result); + $this->assertRegExp('/\s*

    Related Scaffold Comments<\/h3>\s*/', $result); $this->assertRegExp('/
  • New Comment<\/a><\/li>/', $result);