File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function testGetSignature() {
1919 $ this ->assertEquals ($ sign , '2aa0afd612df8fab4b3fded36c396234 ' );
2020 }
2121
22- public function testGetFormSignature () {
22+ public function testGetFormSignature () {
2323 $ config = new Config ('upyun-temp ' , 'upyun ' , 'upyun520 ' );
2424 $ sign = Signature::getFormSignature ($ config , array (
2525 'save-key ' => '/demo.jpg ' ,
@@ -28,6 +28,6 @@ public function testGetFormSignature () {
2828 'content-md5 ' => '7ac66c0f148de9519b8bd264312c4d64 '
2929 ));
3030 $ this ->assertEquals ($ sign ['policy ' ], 'eyJzYXZlLWtleSI6Ii9kZW1vLmpwZyIsImV4cGlyYXRpb24iOiIxNDc4Njc0NjE4IiwiZGF0ZSI6IldlZCwgOSBOb3YgMjAxNiAxNDoyNjo1OCBHTVQiLCJjb250ZW50LW1kNSI6IjdhYzY2YzBmMTQ4ZGU5NTE5YjhiZDI2NDMxMmM0ZDY0IiwiYnVja2V0IjoidXB5dW4tdGVtcCJ9 ' );
31- $ this ->assertEquals ($ sign ['signature ' ], '5o1GFkCid+adWo7zf1HPc0b80QM = ' );
31+ $ this ->assertEquals ($ sign ['signature ' ], 'aWqUna7XpJ3mJ6Clz6AMeay++Qk = ' );
3232 }
33- }
33+ }
You can’t perform that action at this time.
0 commit comments