Skip to content

Commit

Permalink
Fix logic error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
freerkminnema authored Aug 14, 2024
1 parent ac624de commit 7a3526f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Foundation/FoundationApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function testScopedBindingsAreCreatedWhenServiceProviderIsRegistered()
$this->assertInstanceOf(NonContractBackedClass::class, $instance);
$this->assertSame($instance, $app->make(NonContractBackedClass::class));
$app->forgetScopedInstances();
$this->assertNotSame($instance, $app->make(AbstractClass::class));
$this->assertNotSame($instance, $app->make(NonContractBackedClass::class));
}

public function testSingletonsAreCreatedWhenServiceProviderIsRegistered()
Expand Down

0 comments on commit 7a3526f

Please sign in to comment.