File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -20,31 +20,19 @@ Feature: Serve WordPress locally
2020 Given a WP install
2121 And I launch in the background `wp server --host=localhost --port=8182`
2222
23- When I run `curl -sS localhost:8182/wp-login.php`
23+ When I run `curl -sS http:// localhost:8182/wp-login.php`
2424 Then STDOUT should contain:
2525 """
26- <form name="loginform"
26+ wp-login.php
2727 """
2828
29- Scenario : Pretty permalinks with posts
29+ 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%/' --hard`
33- And I run `wp post create --post_title='Test Post' --post_status=publish --porcelain`
34- And save STDOUT as {POST_ID}
32+ And I run `wp rewrite structure '/%postname%/' `
3533
36- When I run `curl -sS localhost:8183/test-post/ `
34+ When I run `curl -sS http:// localhost:8183/?p=1 `
3735 Then STDOUT should contain:
3836 """
39- Test Post
40- """
41-
42- Scenario : Access wp-admin entry point
43- Given a WP install
44- And I launch in the background `wp server --host=localhost --port=8184`
45-
46- When I run `curl -sS -L localhost:8184/wp-admin/`
47- Then STDOUT should contain:
48- """
49- <form name="loginform"
37+ Hello world!
5038 """
You can’t perform that action at this time.
0 commit comments