Fix DI-check test

This commit is contained in:
Philipp Holzer 2019-07-24 12:48:29 +02:00
vecāks 6759e0c193
revīzija 71bc37c1c1
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: D8365C3D36B77D90
1 mainīti faili ar 2 papildinājumiem un 0 dzēšanām

Parādīt failu

@ -83,6 +83,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(include __DIR__ . '/../../static/dependencies.config.php');
$profiler = $this->dice->create(Profiler::class, [$configCache]);
$this->assertInstanceOf(Profiler::class, $profiler);