mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Tests: Update a transients test to account for terminology changes in MockAction.
Follow-up to [33110], [53805]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@53807 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -145,14 +145,16 @@ class Tests_Option_Transient extends WP_UnitTestCase {
|
||||
|
||||
$expected = array(
|
||||
array(
|
||||
'action' => 'action',
|
||||
'tag' => 'delete_option',
|
||||
'args' => array( $transient_option ),
|
||||
'action' => 'action',
|
||||
'hook_name' => 'delete_option',
|
||||
'tag' => 'delete_option', // Back compat.
|
||||
'args' => array( $transient_option ),
|
||||
),
|
||||
array(
|
||||
'action' => 'action',
|
||||
'tag' => 'delete_option',
|
||||
'args' => array( $timeout ),
|
||||
'action' => 'action',
|
||||
'hook_name' => 'delete_option',
|
||||
'tag' => 'delete_option', // Back compat.
|
||||
'args' => array( $timeout ),
|
||||
),
|
||||
);
|
||||
$this->assertSame( $expected, $a->get_events() );
|
||||
|
||||
Reference in New Issue
Block a user