Skip to content

Commit

Permalink
test: fix file key assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Yun committed May 11, 2024
1 parent 8946d6c commit 2e25e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/MasterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function testSaveWithSpecifiedKey() {
$this->assertNotEmpty($file->getObjectId());
$this->assertNotEmpty($file->getName());

$this->assertEquals("abc", $file->getKey());
$this->assertStringEndsWith("abc", $file->getKey());
$url = $file->getUrl();
$parsedUrl = parse_url($url);
$path = $parsedUrl["path"];
Expand Down

0 comments on commit 2e25e8d

Please sign in to comment.