Upgrade/Install: Update unit tests after [41611].

See #40764.


git-svn-id: https://develop.svn.wordpress.org/trunk@41619 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2017-09-27 15:14:53 +00:00
parent e5e17a4eff
commit cc4c7757c9
1 changed files with 3 additions and 0 deletions

View File

@ -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.' ),