From a1fd801b43c30ea345efe521a3530319b9d53ce3 Mon Sep 17 00:00:00 2001 From: Stephane MEAUDRE Date: Wed, 8 Nov 2023 16:39:12 +0100 Subject: [PATCH] Fix TU --- src/Response/DTO/Item/Image.php | 3 +-- tests/Response/DTO/Item/ImageTest.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Response/DTO/Item/Image.php b/src/Response/DTO/Item/Image.php index cac301f7..9eeffe9c 100644 --- a/src/Response/DTO/Item/Image.php +++ b/src/Response/DTO/Item/Image.php @@ -32,8 +32,6 @@ final class Image extends AbstractResponse implements AstrobinResponse public ?string $url_solution = null; public ?string $url_advanced_solution = null; - public ?string $user = null; - public ?string $url_histogram = null; public ?string $url_skyplot = null; @@ -41,6 +39,7 @@ final class Image extends AbstractResponse implements AstrobinResponse public ?string $url_advanced_skyplot = null; public ?string $url_advanced_skyplot_small = null; + public ?string $user = null; public ?int $views = 0; public ?int $likes = 0; diff --git a/tests/Response/DTO/Item/ImageTest.php b/tests/Response/DTO/Item/ImageTest.php index d6c91878..80129061 100644 --- a/tests/Response/DTO/Item/ImageTest.php +++ b/tests/Response/DTO/Item/ImageTest.php @@ -16,13 +16,13 @@ class ImageTest extends TestCase 'uploaded', 'url_advanced_skyplot', 'url_advanced_skyplot_small', + 'url_advanced_solution', 'url_gallery', 'url_hd', 'url_histogram', 'url_regular', 'url_skyplot', 'url_solution', - 'url_advanced_solution', 'url_thumb', 'user', 'views'