]> git.mxchange.org Git - friendica.git/commitdiff
remove constructor parameter
authorPhilipp Holzer <admin+github@philipp.info>
Tue, 6 Aug 2019 05:43:13 +0000 (07:43 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Tue, 6 Aug 2019 05:43:13 +0000 (07:43 +0200)
tests/functional/DependencyCheckTest.php

index 5ade50dfb438db863dffede60ccad4a93535cca3..6de2dc6479e39cabffdc00e375aa53da7a97db5e 100644 (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);