修正 fixtures

This commit is contained in:
7IN0SAN9
2016-01-19 22:45:56 +08:00
parent 17df725760
commit 1c7fe476e8
7 changed files with 3 additions and 31 deletions

View File

@@ -26,7 +26,7 @@ class xmlTest extends \PHPUnit_Framework_TestCase
Config::parse('<?xml version="1.0"?><document><xmlstring>1</xmlstring></document>', 'xml');
$this->assertEquals(1, Config::get('xmlstring'));
Config::reset();
Config::parse('thinkphp/tests/fixtures/config.xml');
Config::parse(__DIR__ . '/fixtures/config.xml');
$this->assertTrue(Config::has('xmlfile.istrue'));
$this->assertEquals(1, Config::get('xmlfile.istrue'));
Config::reset();