Scope social login callbacks per flow
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-23 20:38:22 +01:00
parent 1241f5092e
commit a33bf0e3a4
8 changed files with 8 additions and 0 deletions

View File

@@ -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'));