@@ -28,7 +28,7 @@ Feature: Search through the database
28
28
Then STDOUT should contain:
29
29
"""
30
30
wp_options:option_value
31
- 1:http ://example.com
31
+ 1:https ://example.com
32
32
"""
33
33
And STDOUT should not contain:
34
34
"""
@@ -44,7 +44,7 @@ Feature: Search through the database
44
44
Then STDOUT should contain:
45
45
"""
46
46
wp_options:option_value
47
- 1:http ://example.com
47
+ 1:https ://example.com
48
48
"""
49
49
And STDOUT should not contain:
50
50
"""
@@ -279,6 +279,7 @@ Feature: Search through the database
279
279
"""
280
280
And the return code should be 0
281
281
282
+ @require-wp-4.0
282
283
Scenario : Search on a multisite install
283
284
Given a WP multisite install
284
285
And I run `wp site create --slug=foo`
@@ -312,7 +313,7 @@ Feature: Search through the database
312
313
Then STDOUT should contain:
313
314
"""
314
315
wp_options:option_value
315
- 1:http ://example.com
316
+ 1:https ://example.com
316
317
"""
317
318
And STDOUT should not contain:
318
319
"""
@@ -336,7 +337,7 @@ Feature: Search through the database
336
337
Then STDOUT should contain:
337
338
"""
338
339
wp_options:option_value
339
- 1:http ://example.com
340
+ 1:https ://example.com
340
341
"""
341
342
And STDOUT should not contain:
342
343
"""
@@ -364,7 +365,7 @@ Feature: Search through the database
364
365
And STDOUT should contain:
365
366
"""
366
367
wp_2_options:option_value
367
- 1:http ://example.com/foo
368
+ 1:https ://example.com/foo
368
369
"""
369
370
And STDOUT should not contain:
370
371
"""
@@ -384,12 +385,12 @@ Feature: Search through the database
384
385
Then STDOUT should contain:
385
386
"""
386
387
wp_options:option_value
387
- 1:http ://example.com
388
+ 1:https ://example.com
388
389
"""
389
390
And STDOUT should contain:
390
391
"""
391
392
wp_2_options:option_value
392
- 1:http ://example.com/foo
393
+ 1:https ://example.com/foo
393
394
"""
394
395
And STDOUT should not contain:
395
396
"""
@@ -409,7 +410,7 @@ Feature: Search through the database
409
410
Then STDOUT should contain:
410
411
"""
411
412
wp_options:option_value
412
- 1:http ://example.com
413
+ 1:https ://example.com
413
414
"""
414
415
And STDOUT should not contain:
415
416
"""
@@ -433,12 +434,12 @@ Feature: Search through the database
433
434
Then STDOUT should contain:
434
435
"""
435
436
wp_options:option_value
436
- 1:http ://example.com
437
+ 1:https ://example.com
437
438
"""
438
439
And STDOUT should contain:
439
440
"""
440
441
wp_2_options:option_value
441
- 1:http ://example.com/foo
442
+ 1:https ://example.com/foo
442
443
"""
443
444
And STDOUT should contain:
444
445
"""
@@ -460,7 +461,7 @@ Feature: Search through the database
460
461
Then STDOUT should contain:
461
462
"""
462
463
wp_options:option_value
463
- 1:http ://example.com
464
+ 1:https ://example.com
464
465
"""
465
466
And STDOUT should not contain:
466
467
"""
@@ -488,7 +489,7 @@ Feature: Search through the database
488
489
And STDOUT should contain:
489
490
"""
490
491
wp_2_options:option_value
491
- 1:http ://example.com/foo
492
+ 1:https ://example.com/foo
492
493
"""
493
494
And STDOUT should not contain:
494
495
"""
@@ -509,12 +510,12 @@ Feature: Search through the database
509
510
Then STDOUT should contain:
510
511
"""
511
512
wp_options:option_value
512
- 1:http ://example.com
513
+ 1:https ://example.com
513
514
"""
514
515
And STDOUT should contain:
515
516
"""
516
517
wp_2_options:option_value
517
- 1:http ://example.com/foo
518
+ 1:https ://example.com/foo
518
519
"""
519
520
And STDOUT should contain:
520
521
"""
@@ -537,12 +538,12 @@ Feature: Search through the database
537
538
Then STDOUT should contain:
538
539
"""
539
540
wp_options:option_value
540
- 1:http ://example.com
541
+ 1:https ://example.com
541
542
"""
542
543
And STDOUT should contain:
543
544
"""
544
545
wp_2_options:option_value
545
- 1:http ://example.com/foo
546
+ 1:https ://example.com/foo
546
547
"""
547
548
And STDOUT should contain:
548
549
"""
@@ -712,7 +713,7 @@ Feature: Search through the database
712
713
Then STDOUT should contain:
713
714
"""
714
715
wp_options:option_value
715
- 1:http ://example.com
716
+ 1:https ://example.com
716
717
"""
717
718
And STDOUT should not contain:
718
719
"""
@@ -868,31 +869,31 @@ Feature: Search through the database
868
869
Then STDOUT should contain:
869
870
"""
870
871
wp_options:option_value
871
- 1:http ://example.com
872
+ 1:https ://example.com
872
873
wp_options:option_value
873
- 2:http ://example.com
874
+ 2:https ://example.com
874
875
"""
875
876
876
877
When I run `wp db search example.com --table_column_once`
877
878
Then STDOUT should contain:
878
879
"""
879
880
wp_options:option_value
880
- 1:http ://example.com
881
- 2:http ://example.com
881
+ 1:https ://example.com
882
+ 2:https ://example.com
882
883
"""
883
884
884
885
When I run `wp db search example.com --one_line`
885
886
Then STDOUT should contain:
886
887
"""
887
- wp_options:option_value:1:http ://example.com
888
- wp_options:option_value:2:http ://example.com
888
+ wp_options:option_value:1:https ://example.com
889
+ wp_options:option_value:2:https ://example.com
889
890
"""
890
891
891
892
When I run `wp db search example.com --table_column_once --one_line`
892
893
Then STDOUT should contain:
893
894
"""
894
- wp_options:option_value:1:http ://example.com
895
- wp_options:option_value:2:http ://example.com
895
+ wp_options:option_value:1:https ://example.com
896
+ wp_options:option_value:2:https ://example.com
896
897
"""
897
898
898
899
When I run `wp db search example.com --all-tables --before_context=0 --after_context=0 --matches_only`
@@ -920,35 +921,35 @@ Feature: Search through the database
920
921
Then STDOUT should strictly contain:
921
922
"""
922
923
[32;1mwp_options:option_value[0m
923
- [33;1m1[0m:http ://[43m[30mexample.com[0m
924
+ [33;1m1[0m:https ://[43m[30mexample.com[0m
924
925
"""
925
926
926
927
When I run `SHELL_PIPE=0 wp db search example.com --table_column_color=%r --id_color=%g --match_color=%b`
927
928
Then STDOUT should strictly contain:
928
929
"""
929
930
[31mwp_options:option_value[0m
930
- [32m1[0m:http ://[34mexample.com[0m
931
+ [32m1[0m:https ://[34mexample.com[0m
931
932
"""
932
933
933
934
When I run `SHELL_PIPE=0 wp db search example.com --table_column_color=%r`
934
935
Then STDOUT should strictly contain:
935
936
"""
936
937
[31mwp_options:option_value[0m
937
- [33;1m1[0m:http ://[43m[30mexample.com[0m
938
+ [33;1m1[0m:https ://[43m[30mexample.com[0m
938
939
"""
939
940
940
941
When I run `SHELL_PIPE=0 wp db search example.com --id_color=%g`
941
942
Then STDOUT should strictly contain:
942
943
"""
943
944
[32;1mwp_options:option_value[0m
944
- [32m1[0m:http ://[43m[30mexample.com[0m
945
+ [32m1[0m:https ://[43m[30mexample.com[0m
945
946
"""
946
947
947
948
When I run `SHELL_PIPE=0 wp db search example.com --match_color=%b`
948
949
Then STDOUT should strictly contain:
949
950
"""
950
951
[32;1mwp_options:option_value[0m
951
- [33;1m1[0m:http ://[34mexample.com[0m
952
+ [33;1m1[0m:https ://[34mexample.com[0m
952
953
"""
953
954
954
955
When I run `SHELL_PIPE=0 wp db search example.com --before_context=0 --after_context=0`
0 commit comments