Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
"wp-cli/media-command": "^1.1 || ^2 || ^3",
"wp-cli/super-admin-command": "^1 || ^2 || ^3",
"wp-cli/wp-cli-tests": "^5"
"wp-cli/wp-cli-tests": "dev-create-sites-step as 5.3.99"
},
"config": {
"process-timeout": 7200,
Expand Down
40 changes: 20 additions & 20 deletions features/site.feature
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@ Feature: Manage sites in a multisite installation

Scenario: Archive/unarchive a site
Given a WP multisite install
And I run `wp site create --slug=first --porcelain`
And save STDOUT as {FIRST_SITE}
And I run `wp site create --slug=second --porcelain`
And save STDOUT as {SECOND_SITE}
And these sites:
| slug | save |
| first | FIRST_SITE |
| second | SECOND_SITE |

When I run `wp site archive {FIRST_SITE}`
Then STDOUT should be:
Expand Down Expand Up @@ -366,10 +366,10 @@ Feature: Manage sites in a multisite installation

Scenario: Activate/deactivate a site
Given a WP multisite install
And I run `wp site create --slug=first --porcelain`
And save STDOUT as {FIRST_SITE}
And I run `wp site create --slug=second --porcelain`
And save STDOUT as {SECOND_SITE}
And these sites:
| slug | save |
| first | FIRST_SITE |
| second | SECOND_SITE |

When I run `wp site deactivate {FIRST_SITE}`
Then STDOUT should be:
Expand Down Expand Up @@ -419,10 +419,10 @@ Feature: Manage sites in a multisite installation

Scenario: Mark/remove a site from spam
Given a WP multisite install
And I run `wp site create --slug=first --porcelain`
And save STDOUT as {FIRST_SITE}
And I run `wp site create --slug=second --porcelain`
And save STDOUT as {SECOND_SITE}
And these sites:
| slug | save |
| first | FIRST_SITE |
| second | SECOND_SITE |

When I run `wp site spam {FIRST_SITE}`
Then STDOUT should be:
Expand Down Expand Up @@ -472,10 +472,10 @@ Feature: Manage sites in a multisite installation

Scenario: Mark/remove a site as mature
Given a WP multisite install
And I run `wp site create --slug=first --porcelain`
And save STDOUT as {FIRST_SITE}
And I run `wp site create --slug=second --porcelain`
And save STDOUT as {SECOND_SITE}
And these sites:
| slug | save |
| first | FIRST_SITE |
| second | SECOND_SITE |

When I run `wp site mature {FIRST_SITE}`
Then STDOUT should be:
Expand Down Expand Up @@ -525,10 +525,10 @@ Feature: Manage sites in a multisite installation

Scenario: Set/Unset a site as public
Given a WP multisite install
And I run `wp site create --slug=first --porcelain`
And save STDOUT as {FIRST_SITE}
And I run `wp site create --slug=second --porcelain`
And save STDOUT as {SECOND_SITE}
And these sites:
| slug | save |
| first | FIRST_SITE |
| second | SECOND_SITE |

When I run `wp site private {FIRST_SITE}`
Then STDOUT should be:
Expand Down
Loading