Skip to content

Commit 549d1ac

Browse files
committed
update for test
1 parent 85909c3 commit 549d1ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/phpunit/tests/ajax/wpAjaxUpdatePlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function test_update_plugin() {
138138
$this->_setRole( 'administrator' );
139139

140140
$_POST['_ajax_nonce'] = wp_create_nonce( 'updates' );
141-
$_POST['plugin'] = 'hello.php';
141+
$_POST['plugin'] = 'hello-dolly/hello.php';
142142
$_POST['slug'] = 'hello-dolly';
143143

144144
// Prevent wp_update_plugins() from running.
@@ -163,7 +163,7 @@ public function test_update_plugin() {
163163
'slug' => 'hello-dolly',
164164
'oldVersion' => 'Version 1.7.2',
165165
'newVersion' => '',
166-
'plugin' => 'hello.php',
166+
'plugin' => 'hello-dolly/hello.php',
167167
'pluginName' => 'Hello Dolly',
168168
'debug' => array( 'The plugin is at the latest version.' ),
169169
'errorMessage' => 'The plugin is at the latest version.',

0 commit comments

Comments
 (0)