@@ -21,22 +21,22 @@ public function provideSign()
21
21
[
22
22
new Uri ('https://example.com/ ' ),
23
23
'T7pWk5I7re3JTz5FS3LK8rVbQ0U= ' ,
24
- 'T7pWk5I7re3JTz5FS3LK8rVbQ0U = ' ,
24
+ 'uRcxk5ukl+O0nSa9PgMEoIvOQ+M = ' ,
25
25
],
26
26
[
27
27
new Uri ('https://example.com/thea.pot ' ,[], 'THEAPOT ' ),
28
28
'XyTxyDmU2s3iBMBpSX4DbZ47Ltg= ' ,
29
- 'XyTxyDmU2s3iBMBpSX4DbZ47Ltg = ' ,
29
+ 'H6aCWT5WcUlqw4/qXVm4tMjE7P0 = ' ,
30
30
],
31
31
[
32
32
new Uri ('https://example.com/?foo=bar ' , ['foo ' => 'bar ' ,]),
33
33
'OXZBqYIhLdj7CT6bYudGqc8OzlU= ' ,
34
- 'OXZBqYIhLdj7CT6bYudGqc8OzlU = ' ,
34
+ '3oA2qaA8dpQFdB8n0tyjrXLNvsg = ' ,
35
35
],
36
36
[
37
37
new Uri ('https://example.com/ ' ,['foo ' => 'bar ' ,], 'HEAD ' ),
38
38
'T7pWk5I7re3JTz5FS3LK8rVbQ0U= ' ,
39
- 'T7pWk5I7re3JTz5FS3LK8rVbQ0U = ' ,
39
+ 'uRcxk5ukl+O0nSa9PgMEoIvOQ+M = ' ,
40
40
],
41
41
];
42
42
}
@@ -52,7 +52,7 @@ public function testSign(UriInterface $uri, $signedSignature, $signedTokenSecret
52
52
$ signature = new HmacSha1Signature ($ secret );
53
53
$ tokenSecret = new TokenSecret ('tokenSecret ' );
54
54
$ this ->assertSame ($ signedSignature , $ signature ->sign ($ uri ));
55
- $ signature ->withTokenSecret ($ tokenSecret );
55
+ $ signature = $ signature ->withTokenSecret ($ tokenSecret );
56
56
$ this ->assertSame ($ signedTokenSecretSignature , $ signature ->sign ($ uri ));
57
57
}
58
58
}
0 commit comments