Skip to content

Commit e938bbc

Browse files
committed
Changing get test to match code 200 by default
1 parent daf6908 commit e938bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Curly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function get(string $endpoint): TestCase
1818
$response = $client->get($endpoint);
1919

2020
expect($response)->toBeArray()->toHaveKeys(['code', 'body']);
21-
expect($response['code'])->toBeIn([200, 301, 302]);
21+
expect($response['code'])->toBe(200);
2222

2323
return $this;
2424
}

0 commit comments

Comments
 (0)