Fixing failing tests.

This commit is contained in:
Mark Story 2010-05-09 01:16:44 -04:00
parent 75d7146bd0
commit 3c3655aefd

View file

@ -61,7 +61,7 @@ class HtmlCoverageReportTest extends CakeTestCase {
function testFilterCoverageDataByPathRemovingElements() { function testFilterCoverageDataByPathRemovingElements() {
$data = array( $data = array(
array( array(
'files' => array( 'data' => array(
TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array( TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array(
10 => -1, 10 => -1,
12 => 1 12 => 1
@ -87,7 +87,7 @@ class HtmlCoverageReportTest extends CakeTestCase {
function testFilterCoverageDataCorrectlyMergingValues() { function testFilterCoverageDataCorrectlyMergingValues() {
$data = array( $data = array(
array( array(
'files' => array( 'data' => array(
TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array( TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array(
10 => -1, 10 => -1,
12 => 1 12 => 1
@ -95,7 +95,7 @@ class HtmlCoverageReportTest extends CakeTestCase {
) )
), ),
array( array(
'files' => array( 'data' => array(
TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array( TEST_CAKE_CORE_INCLUDE_PATH . 'dispatcher.php' => array(
10 => 1, 10 => 1,
12 => -1, 12 => -1,