We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85909c3 commit 549d1acCopy full SHA for 549d1ac
1 file changed
tests/phpunit/tests/ajax/wpAjaxUpdatePlugin.php
@@ -138,7 +138,7 @@ public function test_update_plugin() {
138
$this->_setRole( 'administrator' );
139
140
$_POST['_ajax_nonce'] = wp_create_nonce( 'updates' );
141
- $_POST['plugin'] = 'hello.php';
+ $_POST['plugin'] = 'hello-dolly/hello.php';
142
$_POST['slug'] = 'hello-dolly';
143
144
// Prevent wp_update_plugins() from running.
@@ -163,7 +163,7 @@ public function test_update_plugin() {
163
'slug' => 'hello-dolly',
164
'oldVersion' => 'Version 1.7.2',
165
'newVersion' => '',
166
- 'plugin' => 'hello.php',
+ 'plugin' => 'hello-dolly/hello.php',
167
'pluginName' => 'Hello Dolly',
168
'debug' => array( 'The plugin is at the latest version.' ),
169
'errorMessage' => 'The plugin is at the latest version.',
0 commit comments