Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge commit 'zf2/master' into livedocx-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmaron committed May 25, 2011
2 parents 1987408 + b932fa5 commit abc72db
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/ConfigTest.php
Expand Up @@ -94,13 +94,11 @@ public function testLoadSingleSection()

public function testIsset()
{
if (version_compare(PHP_VERSION, '5.1', '>=')) {
$config = new Config($this->_all, false);
$config = new Config($this->_all, false);

$this->assertFalse(isset($config->notarealkey));
$this->assertTrue(isset($config->hostname)); // top level
$this->assertTrue(isset($config->db->name)); // one level down
}
$this->assertFalse(isset($config->notarealkey));
$this->assertTrue(isset($config->hostname)); // top level
$this->assertTrue(isset($config->db->name)); // one level down
}

public function testModification()
Expand Down

0 comments on commit abc72db

Please sign in to comment.