From 2c0bd3be74c92612e938a9a62666c20567de0e4f Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Thu, 21 May 2020 19:16:38 +0800 Subject: [PATCH] fix test --- tests/HttpTest/ControllersTest/TextureControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/HttpTest/ControllersTest/TextureControllerTest.php b/tests/HttpTest/ControllersTest/TextureControllerTest.php index 13f219a8..c554976b 100644 --- a/tests/HttpTest/ControllersTest/TextureControllerTest.php +++ b/tests/HttpTest/ControllersTest/TextureControllerTest.php @@ -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()); } }