Skip to content

Commit

Permalink
fix: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gchtr committed Aug 27, 2024
1 parent 4429675 commit 98fca17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down Expand Up @@ -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 );
}
Expand Down Expand Up @@ -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 );

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (Imagick) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (with coverage) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.0 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.0 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (with coverage) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (Imagick) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP 6.1 (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (Imagick) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 (with coverage) | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 8.0 | WP latest | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP latest (MS) | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.

Check failure on line 378 in tests/test-functions.php

View workflow job for this annotation

GitHub Actions / PHP 7.4 | WP trunk | prefer-stable

Failed asserting that ' 560w, 1400w' matches expected false.
}
Expand Down

0 comments on commit 98fca17

Please sign in to comment.