Permalink
Browse files

Updating test pattern for changes to HTML assert fail rendering.

  • Loading branch information...
1 parent 86947bd commit 0d6042ded4901c9ad437ac93c55e8c04dbad8bfd @davidpersson davidpersson committed with nateabele Jun 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/lithium/tests/cases/test/ReportTest.php
@@ -75,7 +75,7 @@ public function testRender() {
$report->run();
$result = $report->render("stats");
- $this->assertPattern("/1 \/ 1 passes, 0 fails and 0 exceptions/", $result);
+ $this->assertPattern("#1./.*1.*passes,.*0.*fails.*0.*exceptions#s", $result);
}
public function testSingleFilter() {

0 comments on commit 0d6042d

Please sign in to comment.