fix: update wp version on tests
This commit is contained in:
parent
6da4b2d47b
commit
2a3dd69d70
|
@ -24,7 +24,7 @@ jobs:
|
||||||
# Notes regarding supported versions in WP:
|
# Notes regarding supported versions in WP:
|
||||||
# The base matrix only contains the PHP versions which are supported on all supported WP versions.
|
# 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']
|
php: ['5.6', '7.0', '7.3', '7.4']
|
||||||
wp: ['latest', '5.2']
|
wp: ['latest', '5.4']
|
||||||
experimental: [false]
|
experimental: [false]
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
|
|
@ -521,7 +521,7 @@ class Items extends TAINACAN_UnitTestCase {
|
||||||
$test_file = '/tmp/tainacan.jpg';
|
$test_file = '/tmp/tainacan.jpg';
|
||||||
copy( $orig_file, $test_file );
|
copy( $orig_file, $test_file );
|
||||||
$blurhash = \Tainacan\Media::get_instance()->get_image_blurhash($test_file, 40,40);
|
$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:']);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue