From 7a3526f1d7ef084afc61708a80a5c900598614e1 Mon Sep 17 00:00:00 2001 From: Freerk Minnema <41089591+freerkminnema@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:23:17 +0200 Subject: [PATCH] Fix logic error in test --- tests/Foundation/FoundationApplicationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Foundation/FoundationApplicationTest.php b/tests/Foundation/FoundationApplicationTest.php index 39cab457766a..740f53f7c255 100755 --- a/tests/Foundation/FoundationApplicationTest.php +++ b/tests/Foundation/FoundationApplicationTest.php @@ -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()