We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a98b935 commit 77b6953Copy full SHA for 77b6953
tests/Integration/Http/HttpClientTest.php
@@ -92,11 +92,11 @@ public function testForwardsCallsToPromise()
92
public function testCanSetRequestAttributes()
93
{
94
Http::fake([
95
- '*' => fn (Request $request) => match($request->attributes()['name'] ?? null) {
+ '*' => fn (Request $request) => match ($request->attributes()['name'] ?? null) {
96
'first' => Http::response('first response'),
97
'second' => Http::response('second response'),
98
default => Http::response('unnamed')
99
- }
+ },
100
]);
101
102
$response1 = Http::withAttributes(['name' => 'first'])->get('https://some-store.myshopify.com/admin/api/2025-10/graphql.json');
0 commit comments