Skip to content

Commit

Permalink
Correct array syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Dec 23, 2014
1 parent 5153025 commit 5af24bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Core/ConfigureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function testWrite() {
*/
public function testConsume() {
$this->assertNull(Configure::consume('DoesNotExist'), 'Should be null on empty value');
Configure::write('Test', ['key' => 'value', 'key2' => 'value2']);
Configure::write('Test', array('key' => 'value', 'key2' => 'value2'));

$result = Configure::consume('Test.key');
$this->assertEquals('value', $result);
Expand All @@ -164,7 +164,7 @@ public function testConsume() {
$this->assertEquals('value2', $result, 'Other values should remain.');

$result = Configure::consume('Test');
$expected = ['key2' => 'value2'];
$expected = array('key2' => 'value2');
$this->assertEquals($expected, $result);
}

Expand Down

0 comments on commit 5af24bd

Please sign in to comment.