File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,15 @@ Feature: Test that WP-CLI Behat steps work as expected
278278 Then STDOUT should not be empty
279279 And the return code should be 0
280280
281+ @require-wp
282+ Scenario : Test WP installation steps
283+ Given a WP 6.8 installation
284+ When I run `wp core version`
285+ Then STDOUT should contain:
286+ """
287+ 6.8
288+ """
289+
281290 @require-wp
282291 Scenario : Test WP files and wp-config.php steps
283292 Given an empty directory
@@ -298,8 +307,6 @@ Feature: Test that WP-CLI Behat steps work as expected
298307 Then STDOUT should not be empty
299308 And the return code should be 0
300309
301-
302-
303310 @require-wp
304311 Scenario : Test version string comparison
305312 Given a WP installation
@@ -376,6 +383,12 @@ Feature: Test that WP-CLI Behat steps work as expected
376383 WP_CONTENT_DIR
377384 """
378385
386+ @require-wp
387+ Scenario : Test WP multisite installation
388+ Given a WP multisite installation
389+ When I run `wp core is-installed`
390+ Then the return code should be 0
391+
379392 @require-wp
380393 Scenario : Test WP multisite subdirectory installation
381394 Given a WP multisite subdirectory installation
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ public function given_a_database(): void {
399399 *
400400 * @access public
401401 *
402- * @Given /^a WP( [^\s]+)? install(?:ation)?$/
402+ * @Given /^a WP( \d [^\s]+)? install(?:ation)?$/
403403 *
404404 * @param string $version Optional version number (may include leading space)
405405 */
You can’t perform that action at this time.
0 commit comments