Skip to content

Commit

Permalink
[DI] #BUGFIX component:test
Browse files Browse the repository at this point in the history
Test adaption for last resolver fix.
  • Loading branch information
davidlung committed Sep 10, 2020
1 parent 5167af6 commit 265cd0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Component/DI/Tests/ResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testResolveDependencies()
$definitions[TestObject::class] = (new Definition(TestObject::class))
->factory(
function(){
return new TestObject(null);
return new TestObject(null);
}
);

Expand All @@ -128,7 +128,7 @@ function(){
$resolver->resolveDependencies(TestObject::class);

$expectedConstruct = [
'Vection\Component\DI\Tests\Fixtures\ConstructorInjectedObject'
# Empty because of defined factory method and manual instantiation and null param
];

$expectedSetter = [
Expand Down

0 comments on commit 265cd0e

Please sign in to comment.