Skip to content

Commit f607f76

Browse files
committed
Fix the testcases for the --autolaod flag in option list command
1 parent c47bdaa commit f607f76

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

features/option-list.feature

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -173,54 +173,7 @@ Feature: List WordPress options
173173
"""
174174
sample_value_three
175175
"""
176-
Scenario: Using the `--autoload=off` flag
177-
Given a WP install
178-
And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes`
179-
And I run `wp option add sample_autoload_two 'sample_value_two' --autoload=no`
180-
And I run `wp option add sample_autoload_three 'sample_value_three' --autoload=on`
181-
And I run `wp option add sample_autoload_four 'sample_value_four' --autoload=off`
182-
183-
When I run `wp option list --autoload=off`
184-
Then STDOUT should not contain:
185-
"""
186-
sample_value_one
187-
"""
188-
And STDOUT should not contain:
189-
"""
190-
sample_value_three
191-
"""
192-
And STDOUT should contain:
193-
"""
194-
sample_value_two
195-
"""
196-
And STDOUT should contain:
197-
"""
198-
<<<<<<< HEAD
199-
200-
Scenario: Using the `--autoload=on` flag
201-
Given a WP install
202-
And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes`
203-
And I run `wp option add sample_autoload_two 'sample_value_two' --autoload=no`
204-
And I run `wp option add sample_autoload_three 'sample_value_three' --autoload=on`
205-
And I run `wp option add sample_autoload_four 'sample_value_four' --autoload=off`
206176

207-
When I run `wp option list --autoload=on`
208-
Then STDOUT should not contain:
209-
"""
210-
sample_value_two
211-
"""
212-
And STDOUT should not contain:
213-
"""
214-
sample_value_four
215-
"""
216-
And STDOUT should contain:
217-
"""
218-
sample_value_one
219-
"""
220-
And STDOUT should contain:
221-
"""
222-
sample_value_three
223-
"""
224177
Scenario: Using the `--autoload=off` flag
225178
Given a WP install
226179
And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes`
@@ -243,7 +196,5 @@ Feature: List WordPress options
243196
"""
244197
And STDOUT should contain:
245198
"""
246-
=======
247-
>>>>>>> a5e51e030cb4060441c45eaa323785178e4c9117
248199
sample_value_four
249200
"""

0 commit comments

Comments
 (0)