@@ -34,67 +34,67 @@ Feature: Fix WordPress attachments orientation
3434
3535 When I run `wp media fix-orientation --dry-run`
3636 Then STDOUT should contain:
37- """
38- 3 "Portrait Four" (ID {PORTRAIT_FOUR}) will be affected.
39- """
37+ """
38+ 3 "Portrait Four" (ID {PORTRAIT_FOUR}) will be affected.
39+ """
4040
4141 And STDOUT should contain:
42- """
43- 3 "Landscape Five" (ID {LANDSCAPE_FIVE}) will be affected.
44- """
42+ """
43+ 3 "Landscape Five" (ID {LANDSCAPE_FIVE}) will be affected.
44+ """
4545
4646 And STDOUT should contain:
47- """
48- 3 "Landscape Two" (ID {LANDSCAPE_TWO}) will be affected.
49- """
47+ """
48+ 3 "Landscape Two" (ID {LANDSCAPE_TWO}) will be affected.
49+ """
5050
5151 And STDOUT should contain:
52- """
53- Success: 3 of 3 images will be affected.
54- """
52+ """
53+ Success: 3 of 3 images will be affected.
54+ """
5555
5656 When I run `wp media fix-orientation`
5757 Then STDOUT should contain:
58- """
59- 3 Fixing orientation for "Portrait Four" (ID {PORTRAIT_FOUR}).
60- """
58+ """
59+ 3 Fixing orientation for "Portrait Four" (ID {PORTRAIT_FOUR}).
60+ """
6161
6262 And STDOUT should contain:
63- """
64- 3 Fixing orientation for "Landscape Five" (ID {LANDSCAPE_FIVE}).
65- """
63+ """
64+ 3 Fixing orientation for "Landscape Five" (ID {LANDSCAPE_FIVE}).
65+ """
6666
6767 And STDOUT should contain:
68- """
69- 3 Fixing orientation for "Landscape Two" (ID {LANDSCAPE_TWO}).
70- """
68+ """
69+ 3 Fixing orientation for "Landscape Two" (ID {LANDSCAPE_TWO}).
70+ """
7171
7272 And STDOUT should contain:
73- """
74- Success: Fixed 3 of 3 images.
75- """
73+ """
74+ Success: Fixed 3 of 3 images.
75+ """
7676
7777 # Verify orientation fix.
7878 When I run `wp media fix-orientation`
7979 Then STDOUT should contain:
80- """
81- 3 No orientation fix required for "Portrait Four" (ID {PORTRAIT_FOUR}).
82- """
80+ """
81+ 3 No orientation fix required for "Portrait Four" (ID {PORTRAIT_FOUR}).
82+ """
8383
8484 And STDOUT should contain:
85- """
86- 3 No orientation fix required for "Landscape Five" (ID {LANDSCAPE_FIVE}).
87- """
85+ """
86+ 3 No orientation fix required for "Landscape Five" (ID {LANDSCAPE_FIVE}).
87+ """
8888
8989 And STDOUT should contain:
90- """
91- 3 No orientation fix required for "Landscape Two" (ID {LANDSCAPE_TWO}).
92- """
90+ """
91+ 3 No orientation fix required for "Landscape Two" (ID {LANDSCAPE_TWO}).
92+ """
9393
9494 And STDOUT should contain:
95- """
96- Success: Images already fixed.
97- """
95+ """
96+ Success: Images already fixed.
97+ """
9898
9999 # On newer versions (5.3+) the image is already considered fixed.
100100 # On WP 4.9 tests this results in "Couldn't fix orientation".
@@ -109,23 +109,23 @@ Feature: Fix WordPress attachments orientation
109109
110110 When I run `wp media fix-orientation {PORTRAIT_SIX}`
111111 Then STDOUT should be:
112- """
113- 1/1 Fixing orientation for "Portrait Six" (ID {PORTRAIT_SIX}).
114- Success: Fixed 1 of 1 images.
115- """
112+ """
113+ 1/1 Fixing orientation for "Portrait Six" (ID {PORTRAIT_SIX}).
114+ Success: Fixed 1 of 1 images.
115+ """
116116
117117 # Verify orientation fix.
118118 When I run `wp media fix-orientation {PORTRAIT_SIX}`
119119 Then STDOUT should be:
120- """
121- 1/1 No orientation fix required for "Portrait Six" (ID {PORTRAIT_SIX}).
122- Success: Image already fixed.
123- """
120+ """
121+ 1/1 No orientation fix required for "Portrait Six" (ID {PORTRAIT_SIX}).
122+ Success: Image already fixed.
123+ """
124124
125125 @require-wp-4.0
126126 Scenario : Fix orientation for non existent image
127127 When I try `wp media fix-orientation 9999`
128128 Then STDERR should be:
129- """
130- Error: No images found.
131- """
129+ """
130+ Error: No images found.
131+ """
0 commit comments