From 4fb871ef1955cb1f1f6ea02db45ba5b23c13f12e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 15 Jan 2023 13:38:12 +0000 Subject: [PATCH] Tests: Use more specific assertions in image saving tests. When passed a `WP_Image_Editor` instance as the `$image` parameter, `wp_save_image_file()` returns an array on success, so we can specifically check for an array instead of any non-empty result. Likewise, in PDF tests, when creating an attachment is expected to return an integer ID and not a `WP_Error` object, we can specifically check for that. Follow-up to [1061/tests], [38949], [39617], [42792], [53529], [53530], [53531], [55019], [55066]. See #56793. Built from https://develop.svn.wordpress.org/trunk@55070 git-svn-id: http://core.svn.wordpress.org/trunk@54603 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 39bc040b4c..3e335f264b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55069'; +$wp_version = '6.2-alpha-55070'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.