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',
|
'update' => 'theme',
|
||||||
'slug' => 'foo',
|
'slug' => 'foo',
|
||||||
'errorMessage' => 'Sorry, you are not allowed to update themes for this site.',
|
'errorMessage' => 'Sorry, you are not allowed to update themes for this site.',
|
||||||
|
'oldVersion' => '',
|
||||||
'newVersion' => '',
|
'newVersion' => '',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -127,6 +128,7 @@ class Tests_Ajax_Manage_Themes extends WP_Ajax_UnitTestCase {
|
||||||
'update' => 'theme',
|
'update' => 'theme',
|
||||||
'slug' => 'twentyten',
|
'slug' => 'twentyten',
|
||||||
'errorMessage' => 'The theme is at the latest version.',
|
'errorMessage' => 'The theme is at the latest version.',
|
||||||
|
'oldVersion' => '2.3',
|
||||||
'newVersion' => '',
|
'newVersion' => '',
|
||||||
'debug' => array( 'The theme is at the latest version.' ),
|
'debug' => array( 'The theme is at the latest version.' ),
|
||||||
),
|
),
|
||||||
|
@ -156,6 +158,7 @@ class Tests_Ajax_Manage_Themes extends WP_Ajax_UnitTestCase {
|
||||||
'data' => array(
|
'data' => array(
|
||||||
'update' => 'theme',
|
'update' => 'theme',
|
||||||
'slug' => 'camelCase',
|
'slug' => 'camelCase',
|
||||||
|
'oldVersion' => '1.0',
|
||||||
'newVersion' => '',
|
'newVersion' => '',
|
||||||
'errorMessage' => 'The theme is at the latest version.',
|
'errorMessage' => 'The theme is at the latest version.',
|
||||||
'debug' => array( 'The theme is at the latest version.' ),
|
'debug' => array( 'The theme is at the latest version.' ),
|
||||||
|
|
Loading…
Reference in New Issue