Scope social login callbacks per flow
This commit is contained in:
@@ -27,6 +27,7 @@ class CheckoutGoogleControllerTest extends TestCase
|
||||
$package = Package::factory()->create();
|
||||
|
||||
$provider = Mockery::mock(SocialiteProvider::class);
|
||||
$provider->shouldReceive('redirectUrl')->with(route('checkout.google.callback'))->andReturnSelf();
|
||||
$provider->shouldReceive('scopes')->andReturnSelf();
|
||||
$provider->shouldReceive('with')->andReturnSelf();
|
||||
$provider->shouldReceive('redirect')->once()->andReturn(redirect('/google/auth'));
|
||||
|
||||
Reference in New Issue
Block a user