Fall back when Parcel2Go profile scope is denied
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 26s
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 26s
This commit is contained in:
@@ -197,7 +197,7 @@ class DashboardAccessTest extends TestCase
|
||||
$admin = User::factory()->create(['role' => 'admin']);
|
||||
|
||||
$this->actingAs($admin)->get(route('shipping'))->assertOk()->assertSee('Lee Hickman')->assertSee('12.50');
|
||||
Http::assertSentCount(6);
|
||||
Http::assertSentCount(4);
|
||||
Http::assertSent(fn ($request) => $request->url() === 'https://auth.example.test/token'
|
||||
&& $request['scope'] === 'public-api my-profile');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user