From 4007d27204df184b4e9938bb7e5c484c25378fc7 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Tue, 16 Jul 2024 18:39:12 +0000 Subject: [PATCH] Tests: Use data provider in Tests_Interactivity_API_wpInteractivityAPIFunctions. Refactors the following tests to use a data provider with named test cases: * `test_wp_interactivity_data_wp_context_with_different_arrays()` * `test_wp_interactivity_data_wp_context_with_different_arrays_and_a_namespace()` * `test_wp_interactivity_data_wp_context_with_json_flags()` This is better as: 1. One failing test will not block the other tests from running. 2. Each test is now referenced by name in any error message, making it more straight forward to see which test failed. 3. The test no longer contains multiple assertions. 3. It makes it more straight forward to add additional tests. Follow-up to [58594], [58234], [57762], [57743], [57742], [57563]. Props jrf. See #61530. Built from https://develop.svn.wordpress.org/trunk@58739 git-svn-id: http://core.svn.wordpress.org/trunk@58141 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 af2fceed4d..eef5d012ad 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58738'; +$wp_version = '6.7-alpha-58739'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.