Revert ProfilerTest
This commit is contained in:
parent
9682cc440c
commit
2e65b96cb4
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
// 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->assertInstanceOf(Profiler::class, $profiler);
|
||||||
$this->assertTrue($profiler->isRendertime());
|
$this->assertTrue($profiler->isRendertime());
|
||||||
|
|
Loading…
Reference in a new issue