remove constructor parameter

This commit is contained in:
Philipp Holzer 2019-08-06 07:43:13 +02:00
parent 2e65b96cb4
commit 5442dfa21e
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -87,7 +87,7 @@ 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');
$this->dice = new Dice();
$profiler = $this->dice->create(Profiler::class, [$configCache]);
$this->assertInstanceOf(Profiler::class, $profiler);