Skip to content

Commit 3218908

Browse files
Copilotswissspidy
andcommitted
Use wp option update instead of wp rewrite structure in test
Co-authored-by: swissspidy <[email protected]>
1 parent 9223c05 commit 3218908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/server.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Feature: Serve WordPress locally
2929
Scenario: Pretty permalinks
3030
Given a WP install
3131
And I launch in the background `wp server --host=localhost --port=8183`
32-
And I run `wp rewrite structure '/%postname%/'`
32+
And I run `wp option update permalink_structure '/%postname%/'`
3333

3434
When I run `curl -sS http://localhost:8183/?p=1`
3535
Then STDOUT should contain:

0 commit comments

Comments
 (0)