mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 14:30:59 +08:00
Merge branch 'main' of github.com:nagisa77/OpenIsle
This commit is contained in:
@@ -16,6 +16,6 @@ class CosImageUploaderTest {
|
||||
String url = uploader.upload("data".getBytes(), "img.png").join();
|
||||
|
||||
verify(client).putObject(any(PutObjectRequest.class));
|
||||
assertEquals("http://cos.example.com/img.png", url);
|
||||
assertTrue(url.matches("http://cos.example.com/[a-f0-9]{32}\\.png"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user