mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
调整Config相关单元测试用例
This commit is contained in:
@@ -16,10 +16,13 @@
|
||||
|
||||
namespace tests\thinkphp\library\think\config\driver;
|
||||
|
||||
use tests\thinkphp\library\think\config\ConfigInitTrait;
|
||||
use think\config;
|
||||
|
||||
class xmlTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
use ConfigInitTrait;
|
||||
|
||||
public function testParse()
|
||||
{
|
||||
Config::parse('<?xml version="1.0"?><document><xmlstring>1</xmlstring></document>', 'xml');
|
||||
|
||||
Reference in New Issue
Block a user