Skip to content

Commit 6f45002

Browse files
authored
Merge pull request #114 from wp-cli/fix-gherkin-issues
Fix Gherkin lint issues
2 parents 984b30b + b10309b commit 6f45002

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

features/cron-event.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Feature: Manage WP Cron events
133133
"""
134134
Call to undefined function breakthings()
135135
"""
136-
Then the {RUN_DIR}/server.log file should exist
136+
And the {RUN_DIR}/server.log file should exist
137137
And the {RUN_DIR}/server.log file should contain:
138138
"""
139139
LOG A SHUTDOWN FROM ERROR

features/cron.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Feature: Manage WP-Cron events and schedules
7575

7676
Scenario: Scheduling, running, and deleting duplicate events
7777
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
78-
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
78+
And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
7979
Then STDOUT should not be empty
8080

8181
When I run `wp cron event list --format=csv --fields=hook,recurrence,args`
@@ -111,7 +111,7 @@ Feature: Manage WP-Cron events and schedules
111111
"""
112112

113113
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=banana`
114-
When I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
114+
And I run `wp cron event schedule wp_cli_test_event_5 '+20 minutes' --0=bar`
115115
Then STDOUT should not be empty
116116

117117
When I run `wp cron event list`

0 commit comments

Comments
 (0)