remove constructor parameter
This commit is contained in:
parent
2e65b96cb4
commit
5442dfa21e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
// 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]);
|
$profiler = $this->dice->create(Profiler::class, [$configCache]);
|
||||||
|
|
||||||
$this->assertInstanceOf(Profiler::class, $profiler);
|
$this->assertInstanceOf(Profiler::class, $profiler);
|
||||||
|
|
Loading…
Reference in a new issue