From cc4c7757c9e645289372c14e6e44afd54593a2ef Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 27 Sep 2017 15:14:53 +0000 Subject: [PATCH] Upgrade/Install: Update unit tests after [41611]. See #40764. git-svn-id: https://develop.svn.wordpress.org/trunk@41619 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/ajax/ManageThemes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/phpunit/tests/ajax/ManageThemes.php b/tests/phpunit/tests/ajax/ManageThemes.php index fb9bd9a9e6..481491d978 100644 --- a/tests/phpunit/tests/ajax/ManageThemes.php +++ b/tests/phpunit/tests/ajax/ManageThemes.php @@ -93,6 +93,7 @@ class Tests_Ajax_Manage_Themes extends WP_Ajax_UnitTestCase { 'update' => 'theme', 'slug' => 'foo', 'errorMessage' => 'Sorry, you are not allowed to update themes for this site.', + 'oldVersion' => '', 'newVersion' => '', ), ); @@ -127,6 +128,7 @@ class Tests_Ajax_Manage_Themes extends WP_Ajax_UnitTestCase { 'update' => 'theme', 'slug' => 'twentyten', 'errorMessage' => 'The theme is at the latest version.', + 'oldVersion' => '2.3', 'newVersion' => '', 'debug' => array( 'The theme is at the latest version.' ), ), @@ -156,6 +158,7 @@ class Tests_Ajax_Manage_Themes extends WP_Ajax_UnitTestCase { 'data' => array( 'update' => 'theme', 'slug' => 'camelCase', + 'oldVersion' => '1.0', 'newVersion' => '', 'errorMessage' => 'The theme is at the latest version.', 'debug' => array( 'The theme is at the latest version.' ),