Permalink
Browse files

Changing test to use uncomplicated txt format.

Updating expectation for changes to mock.
  • Loading branch information...
1 parent 630b572 commit 5a10e1498c9e0e7effbf5ac361ad5382a51bc437 @davidpersson davidpersson committed May 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/cases/test/ReportTest.php
@@ -68,12 +68,12 @@ public function testRender() {
$report = new Report(array(
'title' => '\lithium\tests\mocks\test\MockUnitTest',
'group' => new Group(array('data' => array('\lithium\tests\mocks\test\MockUnitTest'))),
- 'format' => 'html'
+ 'format' => 'txt'
));
$report->run();
- $result = $report->render("stats");
- $this->assertPattern("#1.*1.*passes,.*0.*fails.*0.*exceptions#s", $result);
+ $result = $report->render('stats');
+ $this->assertPattern('#2.*2.*passes.*0.*fails.*0.*exceptions#s', $result);
}
public function testSingleFilter() {

0 comments on commit 5a10e14

Please sign in to comment.