Skip to content

Commit 148a258

Browse files
committed
fix iotest mimeType assert
1 parent 732d656 commit 148a258

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/gist/demo.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
# @gist set_keys
3636
$accessKey = '<YOUR_ACCESS_KEY>';
3737
$secretKey = '<YOUR_SECRET_KEY>';
38-
$accessKey = 'Vhiv6a22kVN_zhtetbPNeG9sY3JUL1HG597EmBwQ';
39-
$secretKey = 'b5b5vNg5nnkwkPfW5ayicPE_pj6hqgKMQEaWQ6JD';
4038
Qiniu_setKeys($accessKey, $secretKey);
4139
# @endgist
4240
# @gist mac_client

tests/IoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function testPut_mime_save()
9191

9292
list($ret, $err) = Qiniu_RS_Stat($this->client, $this->bucket, $key);
9393
$this->assertNull($err);
94-
$this->assertEquals($ret['mimeType'], 'application/x-php');
94+
$this->assertEquals($ret['mimeType'], 'application/x-httpd-php');
9595
var_dump($ret);
9696

9797
$err = Qiniu_RS_Delete($this->client, $this->bucket, $key);

0 commit comments

Comments
 (0)