File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ Feature: Serve WordPress locally
1212 Just another WordPress site
1313 """
1414
15- When I run `curl -sS localhost:8181/license.txt > /tmp/license.txt`
16- And I run `cmp /tmp/license.txt license.txt`
17- Then STDOUT should be empty
15+ When I run `curl -sS localhost:8181/license.txt`
16+ Then STDOUT should contain:
17+ """
18+ WordPress - Web publishing software
19+ """
1820
1921 Scenario : Passthrough arguments to PHP binary
2022 Given a WP install
@@ -43,8 +45,7 @@ Feature: Serve WordPress locally
4345 Scenario : Pretty permalinks
4446 Given a WP install
4547 And I launch in the background `wp server --host=localhost --port=8183`
46- And I run `wp option update permalink_structure '/%postname%/' `
47- And I run `wp rewrite flush`
48+ And I run `wp rewrite structure '/%postname%/' `
4849
4950 When I run `curl -sSL http://localhost:8183/hello-world/`
5051 Then STDOUT should contain:
You can’t perform that action at this time.
0 commit comments