From f607f7666b2496c2d3e1d008c4cfd8abe84a6b45 Mon Sep 17 00:00:00 2001 From: rajkp Date: Tue, 5 Nov 2024 10:54:10 +0530 Subject: [PATCH] Fix the testcases for the --autolaod flag in option list command --- features/option-list.feature | 49 ------------------------------------ 1 file changed, 49 deletions(-) diff --git a/features/option-list.feature b/features/option-list.feature index d21a769c..5e285730 100644 --- a/features/option-list.feature +++ b/features/option-list.feature @@ -173,54 +173,7 @@ Feature: List WordPress options """ sample_value_three """ - Scenario: Using the `--autoload=off` flag - Given a WP install - And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes` - And I run `wp option add sample_autoload_two 'sample_value_two' --autoload=no` - And I run `wp option add sample_autoload_three 'sample_value_three' --autoload=on` - And I run `wp option add sample_autoload_four 'sample_value_four' --autoload=off` - - When I run `wp option list --autoload=off` - Then STDOUT should not contain: - """ - sample_value_one - """ - And STDOUT should not contain: - """ - sample_value_three - """ - And STDOUT should contain: - """ - sample_value_two - """ - And STDOUT should contain: - """ -<<<<<<< HEAD - - Scenario: Using the `--autoload=on` flag - Given a WP install - And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes` - And I run `wp option add sample_autoload_two 'sample_value_two' --autoload=no` - And I run `wp option add sample_autoload_three 'sample_value_three' --autoload=on` - And I run `wp option add sample_autoload_four 'sample_value_four' --autoload=off` - When I run `wp option list --autoload=on` - Then STDOUT should not contain: - """ - sample_value_two - """ - And STDOUT should not contain: - """ - sample_value_four - """ - And STDOUT should contain: - """ - sample_value_one - """ - And STDOUT should contain: - """ - sample_value_three - """ Scenario: Using the `--autoload=off` flag Given a WP install And I run `wp option add sample_autoload_one 'sample_value_one' --autoload=yes` @@ -243,7 +196,5 @@ Feature: List WordPress options """ And STDOUT should contain: """ -======= ->>>>>>> a5e51e030cb4060441c45eaa323785178e4c9117 sample_value_four """ \ No newline at end of file