Skip to content

Commit b7e6aae

Browse files
committed
expect 308 argument requirement on response
1 parent 147433d commit b7e6aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/Middleware/ForceHttpsSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186

187187
$listener->__invoke($this->request, $this->response, function () {});
188188

189-
expect($this->response)->toReceive('withStatus');
189+
expect($this->response)->toReceive('withStatus')->with(308);
190190

191191
});
192192

0 commit comments

Comments
 (0)