File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace Sentry \Laravel \Tests ;
44
5- use Sentry \State \Hub ;
65use Sentry \Laravel \Facade ;
76use Sentry \Laravel \ServiceProvider ;
7+ use Sentry \State \HubInterface ;
88
99class ServiceProviderTest extends \Orchestra \Testbench \TestCase
1010{
@@ -31,7 +31,7 @@ protected function getPackageAliases($app)
3131 public function testIsBound ()
3232 {
3333 $ this ->assertTrue (app ()->bound ('sentry ' ));
34- $ this ->assertInstanceOf (Hub ::class, app ('sentry ' ));
34+ $ this ->assertInstanceOf (HubInterface ::class, app ('sentry ' ));
3535 $ this ->assertSame (app ('sentry ' ), Facade::getFacadeRoot ());
3636 }
3737
Original file line number Diff line number Diff line change 22
33namespace Sentry \Laravel \Tests ;
44
5- use Sentry \State \Hub ;
65use Sentry \Laravel \Facade ;
76use Sentry \Laravel \ServiceProvider ;
7+ use Sentry \State \HubInterface ;
88
99class ServiceProviderWithCustomAliasTest extends \Orchestra \Testbench \TestCase
1010{
@@ -31,7 +31,7 @@ protected function getPackageAliases($app)
3131 public function testIsBound ()
3232 {
3333 $ this ->assertTrue (app ()->bound ('custom-sentry ' ));
34- $ this ->assertInstanceOf (Hub ::class, app ('custom-sentry ' ));
34+ $ this ->assertInstanceOf (HubInterface ::class, app ('custom-sentry ' ));
3535 $ this ->assertSame (app ('custom-sentry ' ), CustomSentryFacade::getFacadeRoot ());
3636 }
3737
You can’t perform that action at this time.
0 commit comments