Permalink
Browse files

Correct array syntax.

  • Loading branch information...
dereuromark committed Dec 23, 2014
1 parent 5153025 commit 5af24bdb31d50d4f47ed13940867dc52b8477212
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Core/ConfigureTest.php
@@ -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);
@@ -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);
}

0 comments on commit 5af24bd

Please sign in to comment.