Skip to content

Commit

Permalink
Tweak tests according to the parameter order changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ackintosh committed Apr 7, 2018
1 parent c4248e2 commit 36ed298
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function setUp()

public function testHeaderParam()
{
$this->fakeApi->testEnumParameters([], [], [], 'something');
$this->fakeApi->testEnumParameters([], 'something');

$request = $this->fakeHttpClient->getLastRequest();
$headers = $request->getHeaders();
Expand All @@ -36,7 +36,7 @@ public function testHeaderParam()

public function testHeaderParamCollection()
{
$this->fakeApi->testEnumParameters([], [], ['string1', 'string2']);
$this->fakeApi->testEnumParameters(['string1', 'string2']);

$request = $this->fakeHttpClient->getLastRequest();
$headers = $request->getHeaders();
Expand Down

0 comments on commit 36ed298

Please sign in to comment.