Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/RestApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

class RestApiContext implements Context, SnippetAcceptingContext
{
private $asserter;
protected $asserter;

private $restApiBrowser;
protected $restApiBrowser;

public function __construct(RestApiBrowser $restApiBrowser)
{
Expand Down Expand Up @@ -84,7 +84,7 @@ public function theResponseCodeShouldBe($code)
/**
* @return ResponseInterface
*/
private function getResponse()
protected function getResponse()
{
return $this->restApiBrowser->getResponse();
}
Expand Down Expand Up @@ -144,7 +144,7 @@ public function printResponse()
echo $this->buildHttpExchangeFormatter()->formatFullExchange();
}

private function buildHttpExchangeFormatter()
protected function buildHttpExchangeFormatter()
{
return new Rest\HttpExchangeFormatter($this->restApiBrowser->getRequest(), $this->getResponse());
}
Expand Down