mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Fix DI-check test
This commit is contained in:
parent
6759e0c193
commit
71bc37c1c1
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue