This commit is contained in:
Pig Fang 2020-05-21 19:16:38 +08:00
parent 3bcdcd0533
commit 2c0bd3be74

View File

@ -175,8 +175,8 @@ class TextureControllerTest extends TestCase
$image = $this->get('/avatar/user/'.$user->uid.'?size=50')->getContent();
if (!(getenv('CI') && Str::startsWith(PHP_VERSION, '7.2'))) {
$image = Image::make($image);
$this->assertEquals(100, $image->width());
$this->assertEquals(100, $image->height());
$this->assertEquals(50, $image->width());
$this->assertEquals(50, $image->height());
}
}