Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 18, 2012
1 parent 94e5811 commit 4e9e1d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Cake/Test/TestCase/Core/ConfigureTest.php
Expand Up @@ -453,8 +453,9 @@ public function testDump() {
*/
public function testDumpPartial() {
Configure::config('test_reader', new PhpReader(TMP));
Configure::write('Error', ['test' => 'value']);

$result = Configure::dump('config_test.php', 'test_reader', array('Error'));
$result = Configure::dump('config_test.php', 'test_reader', ['Error']);
$this->assertTrue($result > 0);
$result = file_get_contents(TMP . 'config_test.php');
$this->assertContains('<?php', $result);
Expand Down

0 comments on commit 4e9e1d8

Please sign in to comment.