diff --git a/test/MasterTest.php b/test/MasterTest.php index 6445613..6aaa07e 100644 --- a/test/MasterTest.php +++ b/test/MasterTest.php @@ -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"];