test --enable-openssl option

This commit is contained in:
crazywhalecc
2022-04-02 02:18:31 +08:00
parent a3780667b2
commit f5cbce5195
2 changed files with 3 additions and 1 deletions

View File

@@ -162,7 +162,7 @@ class MessageUtilTest extends TestCase
if (file_exists(DataProvider::getDataFolder('images') . '/test.jpg')) {
unlink(DataProvider::getDataFolder('images') . '/test.jpg');
}
$msg = '[CQ:image,file=test.jpg,url=http://zhamao.xin/file/hello.jpg]';
$msg = '[CQ:image,file=test.jpg,url=https://zhamao.xin/file/hello.jpg]';
$result = MessageUtil::downloadCQImage($msg);
$this->assertIsArray($result);
$this->assertCount(1, $result);