Revert ProfilerTest

这个提交包含在:
Philipp Holzer 2019-08-05 09:22:06 +02:00
父节点 9682cc440c
当前提交 2e65b96cb4
找不到此签名对应的密钥
GPG 密钥 ID: D8365C3D36B77D90
共有 1 个文件被更改,包括 2 次插入1 次删除

查看文件

@ -87,7 +87,8 @@ class dependencyCheck extends TestCase
]);
// create new DI-library because of shared instance rule (so the Profiler wouldn't get created twice)
$this->dice = (new Dice())->create(Profiler::class, [$configCache]);
$this->dice = new Dice(include __DIR__ . '/../../static/dependencies.config.php');
$profiler = $this->dice->create(Profiler::class, [$configCache]);
$this->assertInstanceOf(Profiler::class, $profiler);
$this->assertTrue($profiler->isRendertime());