Skip to content

Commit

Permalink
Changing test to use uncomplicated txt format.
Browse files Browse the repository at this point in the history
Updating expectation for changes to mock.
  • Loading branch information
mariuswilms committed May 23, 2012
1 parent 630b572 commit 5a10e14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cases/test/ReportTest.php
Expand Up @@ -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() {
Expand Down

0 comments on commit 5a10e14

Please sign in to comment.