mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
e5e17a4eff
commit
cc4c7757c9
@ -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.' ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user