Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit a621f3f

Browse files
committed
Fixes typo
1 parent e178a9e commit a621f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ProblemDetailsResponseFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public function testTypeIsInferredFromDefaultTypesMap(array $defaultTypes, int $
508508
}));
509509

510510
$this->response->getBody()->will([$stream, 'reveal']);
511-
$witStatus = $this->response->withStatus($status)->will([$this->response, 'reveal']);
511+
$withStatus = $this->response->withStatus($status)->will([$this->response, 'reveal']);
512512
$this->response->withHeader('Content-Type', 'application/problem+json')->will([$this->response, 'reveal']);
513513

514514
$factory = new ProblemDetailsResponseFactory(
@@ -525,6 +525,6 @@ function () {
525525
$factory->createResponse($this->request->reveal(), $status, 'detail');
526526

527527
$writeStream->shouldHaveBeenCalled();
528-
$witStatus->shouldHaveBeenCalled();
528+
$withStatus->shouldHaveBeenCalled();
529529
}
530530
}

0 commit comments

Comments
 (0)