File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -195,5 +195,55 @@ Feature: List WordPress options
195
195
"""
196
196
And STDOUT should contain:
197
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`
206
+
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
+ """
224
+ Scenario: Using the `--autoload=off` flag
225
+ Given a WP install
226
+ And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes`
227
+ And I run `wp option add sample_autoload_two 'sample_value_two' --autoload=no`
228
+ And I run `wp option add sample_autoload_three 'sample_value_three' --autoload=on`
229
+ And I run `wp option add sample_autoload_four 'sample_value_four' --autoload=off`
230
+
231
+ When I run `wp option list --autoload=off`
232
+ Then STDOUT should not contain:
233
+ """
234
+ sample_value_one
235
+ """
236
+ And STDOUT should not contain:
237
+ """
238
+ sample_value_three
239
+ """
240
+ And STDOUT should contain:
241
+ """
242
+ sample_value_two
243
+ """
244
+ And STDOUT should contain:
245
+ """
246
+ =======
247
+ >>>>>>> a5e51e030cb4060441c45eaa323785178e4c9117
198
248
sample_value_four
199
249
"""
You can’t perform that action at this time.
0 commit comments