Skip to content

Commit

Permalink
SECURITY-5146: fix test
Browse files Browse the repository at this point in the history
Co-authored-by: David Szigecsan <david.szigecsan@emarsys.com>
  • Loading branch information
Eugeniu David and sigee committed Nov 18, 2021
1 parent c3c1dc6 commit e4d4bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/RequestCanonicalizerTest.php
Expand Up @@ -22,7 +22,7 @@ public function urlEncodeQueryStringShouldReplacePlusSignWithSplace()
{
$query = "email=test%2Bbayxd%40gmail.com";
$expected = "email=test%20bayxd%40gmail.com";
$result = RequestCanonicalizer::urlEncodeQueryString($query, "application/x-www-form-urlencoded");
$result = RequestCanonicalizer::urlEncodeQueryString($query, "Content-Type: application/x-www-form-urlencoded");
$this->assertEquals($expected, $result);
}
}

0 comments on commit e4d4bd2

Please sign in to comment.