Skip to content

Commit

Permalink
Fix response deserializer unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Jul 25, 2022
1 parent 6ff3f2b commit 0af10ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Serializer/ResponseDeserializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class ResponseDeserializer {
*/
public static function cleanResponse(string $rawResponse): string {

$searches = [":True", ":False"];
$replaces = [":true", ":false"];
$searches = [":True", ":False", ": True", ": False"];
$replaces = [":true", ":false", ":true", ":false"];

return str_replace($searches, $replaces, $rawResponse);
}
Expand Down

0 comments on commit 0af10ce

Please sign in to comment.