Skip to content

Commit 9bd595c

Browse files
Copilotswissspidy
andcommitted
Test actual pretty permalink URL instead of plain permalink
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 72e6bfe commit 9bd595c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/server.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ Feature: Serve WordPress locally
3030
Given a WP install
3131
And I launch in the background `wp server --host=localhost --port=8183`
3232
And I run `wp option update permalink_structure '/%postname%/'`
33+
And I run `wp rewrite flush`
3334

34-
When I run `curl -sS http://localhost:8183/?p=1`
35+
When I run `curl -sSL http://localhost:8183/hello-world/`
3536
Then STDOUT should contain:
3637
"""
3738
Hello world!

0 commit comments

Comments
 (0)