We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e948b0 commit 306d85bCopy full SHA for 306d85b
tests/Requests/SignedTest.php
@@ -153,8 +153,8 @@ public function a_signed_request_is_valid_if_the_signature_matches_the_signature
153
{
154
$request = $this->makeSignedRequest([
155
'HTTP_ALGORITHM' => 'sha256',
156
- 'HTTP_SIGNATURE' => 'bd7affe8a72348b174610402219c16543165a188cba30e1d49062809a6d99b97'
157
- ], "{'payload': 'payload'}");
+ 'HTTP_SIGNATURE' => '75e1587919519036454cd1def16befd02ea12a76ac007aebe388c2c029a1f46d'
+ ], "{\"payload\": \"payload\"}");
158
$request->setAlgorithmHeader('ALGORITHM')
159
->setSignatureHeader('SIGNATURE');
160
$this->assertTrue($request->isValid("key"));
0 commit comments