Revert ProfilerTest

This commit is contained in:
Philipp Holzer 2019-08-05 09:22:06 +02:00
bovenliggende 9682cc440c
commit 2e65b96cb4
Geen bekende sleutel gevonden voor deze handtekening in de database
GPG sleutel-ID: D8365C3D36B77D90
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen

Bestand weergeven

@ -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());