Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 21aed2f

Browse files
committed
fix tests
1 parent f6bccd3 commit 21aed2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/RedfoxMiddlewareTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testRedfoxSuccessAuth()
2626
]);
2727

2828
$stack = HandlerStack::create($mock);
29-
$stack->push(new RedfoxMiddleware());
29+
$stack->push(new RedfoxMiddleware([], 0));
3030
$client = new Client([
3131
'handler' => $stack,
3232
'debug' => true,
@@ -51,7 +51,7 @@ public function testRedfoxFailAuth()
5151
]);
5252

5353
$stack = HandlerStack::create($mock);
54-
$stack->push(new RedfoxMiddleware());
54+
$stack->push(new RedfoxMiddleware([], 0));
5555
$client = new Client([
5656
'handler' => $stack,
5757
'http_errors' => false,

0 commit comments

Comments
 (0)