Skip to content

Commit

Permalink
Fix array test
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgutierrez committed Nov 17, 2014
1 parent e8d2b2b commit 19d152d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unit-tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,13 @@ public function testYamlConfigCallback()

public function testNumericConfig()
{
$config = new \Phalcon\Config(["abc"]);
$config = new \Phalcon\Config(array("abc"));
$this->assertEquals($config->{0}, "abc");
}

public function testChildArrayToConfigObject()
{
$config = new \Phalcon\Config(['childsettings' => ['A', 'B', 'C']]);
$config = new \Phalcon\Config(array('childsettings' => array('A', 'B', 'C')));
$this->assertInstanceOf('Phalcon\Config', $config->childsettings);
}
}

0 comments on commit 19d152d

Please sign in to comment.