Skip to content

Commit 306d85b

Browse files
committed
Update test to run through the json encode / decode flow
1 parent 3e948b0 commit 306d85b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Requests/SignedTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ public function a_signed_request_is_valid_if_the_signature_matches_the_signature
153153
{
154154
$request = $this->makeSignedRequest([
155155
'HTTP_ALGORITHM' => 'sha256',
156-
'HTTP_SIGNATURE' => 'bd7affe8a72348b174610402219c16543165a188cba30e1d49062809a6d99b97'
157-
], "{'payload': 'payload'}");
156+
'HTTP_SIGNATURE' => '75e1587919519036454cd1def16befd02ea12a76ac007aebe388c2c029a1f46d'
157+
], "{\"payload\": \"payload\"}");
158158
$request->setAlgorithmHeader('ALGORITHM')
159159
->setSignatureHeader('SIGNATURE');
160160
$this->assertTrue($request->isValid("key"));

0 commit comments

Comments
 (0)