Browse Source

Fix DI-check test

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

+ 2
- 0
tests/functional/DependencyCheckTest.php View File

@@ -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…
Cancel
Save