Skip to content

Commit a68cfea

Browse files
committed
Also removed the token secret again to test the withoutTokenSecret method
1 parent c03c4fa commit a68cfea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Signature/HmacSha1SignatureTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,7 @@ public function testSign(UriInterface $uri, $signedSignature, $signedTokenSecret
5454
$this->assertSame($signedSignature, $signature->sign($uri));
5555
$signature = $signature->withTokenSecret($tokenSecret);
5656
$this->assertSame($signedTokenSecretSignature, $signature->sign($uri));
57+
$signature = $signature->withoutTokenSecret();
58+
$this->assertSame($signedSignature, $signature->sign($uri));
5759
}
5860
}

0 commit comments

Comments
 (0)