From 98fca17882098b13dc739bb10159bdc5d8f48cf5 Mon Sep 17 00:00:00 2001 From: Lukas Gaechter Date: Tue, 27 Aug 2024 15:17:18 +0200 Subject: [PATCH] fix: Fix tests --- tests/test-functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-functions.php b/tests/test-functions.php index 09d92dd..cf18c1a 100644 --- a/tests/test-functions.php +++ b/tests/test-functions.php @@ -36,7 +36,7 @@ public function test_get_timber_image_src_without_metadata() { } public function test_get_timber_image_src_non_image() { - $result = get_timber_image_src( 'gaga', 'large' ); + $result = get_timber_image_src( 0, 'large' ); $this->assertEquals( false, $result ); } @@ -64,7 +64,7 @@ public function test_get_timber_image_without_metadata() { } public function test_get_timber_image_non_image() { - $result = get_timber_image( 'gaga', 'large' ); + $result = get_timber_image( 0, 'large' ); $this->assertEquals( false, $result ); } @@ -373,7 +373,7 @@ public function test_get_timber_image_srcset() { } public function test_get_timber_image_srcset_non_image() { - $result = get_timber_image_srcset( 'gaga', 'large' ); + $result = get_timber_image_srcset( 0, 'large' ); $this->assertEquals( false, $result ); }