From 2a3dd69d70d6a28483bd938180edf69a26f2fefd Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Wed, 14 Jul 2021 13:08:25 -0300 Subject: [PATCH] fix: update wp version on tests --- .github/workflows/test.yml | 2 +- tests/test-items.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7a8907c6..e065f3440 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: # Notes regarding supported versions in WP: # The base matrix only contains the PHP versions which are supported on all supported WP versions. php: ['5.6', '7.0', '7.3', '7.4'] - wp: ['latest', '5.2'] + wp: ['latest', '5.4'] experimental: [false] include: diff --git a/tests/test-items.php b/tests/test-items.php index b2654285d..a2da2169b 100644 --- a/tests/test-items.php +++ b/tests/test-items.php @@ -521,7 +521,7 @@ class Items extends TAINACAN_UnitTestCase { $test_file = '/tmp/tainacan.jpg'; copy( $orig_file, $test_file ); $blurhash = \Tainacan\Media::get_instance()->get_image_blurhash($test_file, 40,40); - $this->assertContains($blurhash, ['V4P?:h00Rj~qM{of%MRjWBRjD%%MRjayofj[%M-;RjRj', 'LATI:i~qNG~W~qNGxaNGM|xaNGxa']); + $this->assertContains($blurhash, ['V4P?:h00Rj~qM{of%MRjWBRjD%%MRjayofj[%M-;RjRj', 'VATI:i~qNG~WNG~qNGxaNGt6M|xaNGxaRk~WNGxaR*s:']); } }