Skip to content

Commit

Permalink
Update tests to reflect the change.
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasKenneth committed Jan 21, 2023
1 parent 97f2ba5 commit 88614e9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public void WriteRequestGeneratorForParsable()
result);
Assert.Contains("if ($requestConfiguration !== null", result);
Assert.Contains("if ($requestConfiguration->h !== null)", result);
Assert.Contains("$requestInfo->headers->putAll($requestInfo->headers);", result);
Assert.Contains("$requestInfo->headers->putAll($requestConfiguration->h->getAll());", result);
Assert.Contains("$requestInfo->setQueryParameters($requestConfiguration->q);", result);
Assert.Contains("$requestInfo->addRequestOptions(...$requestConfiguration->o);", result);
Assert.Contains("$requestInfo->setContentFromParsable($this->requestAdapter, \"\", $body);", result);
Expand All @@ -415,7 +415,7 @@ public void WritesRequestGeneratorBodyForParsableCollection()
result);
Assert.Contains("if ($requestConfiguration !== null", result);
Assert.Contains("if ($requestConfiguration->h !== null)", result);
Assert.Contains("$requestInfo->headers->putAll($requestInfo->headers);", result);
Assert.Contains("$requestInfo->headers->putAll($requestConfiguration->h->getAll());", result);
Assert.Contains("$requestInfo->setQueryParameters($requestConfiguration->q);", result);
Assert.Contains("$requestInfo->addRequestOptions(...$requestConfiguration->o);", result);
Assert.Contains("$requestInfo->setContentFromParsableCollection($this->requestAdapter, \"\", $body);", result);
Expand All @@ -441,7 +441,7 @@ public void WriteRequestGeneratorForScalarType()
result);
Assert.Contains("if ($requestConfiguration !== null", result);
Assert.Contains("if ($requestConfiguration->h !== null)", result);
Assert.Contains("$requestInfo->headers->putAll($requestInfo->headers);", result);
Assert.Contains("$requestInfo->headers->putAll($requestConfiguration->h->getAll());", result);
Assert.Contains("$requestInfo->setQueryParameters($requestConfiguration->q);", result);
Assert.Contains("$requestInfo->addRequestOptions(...$requestConfiguration->o);", result);
Assert.Contains("$requestInfo->setContentFromScalar($this->requestAdapter, \"\", $body);", result);
Expand Down Expand Up @@ -472,7 +472,7 @@ public void WritesRequestGeneratorBodyForScalarCollection()
result);
Assert.Contains("if ($requestConfiguration !== null", result);
Assert.Contains("if ($requestConfiguration->h !== null)", result);
Assert.Contains("$requestInfo->headers->putAll($requestInfo->headers);", result);
Assert.Contains("$requestInfo->headers->putAll($requestConfiguration->h->getAll());", result);
Assert.Contains("$requestInfo->setQueryParameters($requestConfiguration->q);", result);
Assert.Contains("$requestInfo->addRequestOptions(...$requestConfiguration->o);", result);
Assert.Contains("$requestInfo->setContentFromScalarCollection($this->requestAdapter, \"\", $body);", result);
Expand Down

0 comments on commit 88614e9

Please sign in to comment.