Browse Source

remove constructor parameter

tags/2019.09
Philipp Holzer 11 months ago
parent
commit
5442dfa21e
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/functional/DependencyCheckTest.php

+ 1
- 1
tests/functional/DependencyCheckTest.php 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);


Loading…
Cancel
Save