@@ -104,9 +104,6 @@ public function test_image_block_with_wide_alignment( string $image_size ): void
104104 */
105105 public function data_image_sizes (): array {
106106 return array (
107- 'Return full or wideSize 1280px instead of thumb size 150px ' => array (
108- 'thumbnail ' ,
109- ),
110107 'Return full or wideSize 1280px instead of medium size 300px ' => array (
111108 'medium ' ,
112109 ),
@@ -163,10 +160,6 @@ public function test_image_block_with_default_alignment( string $image_size, str
163160 */
164161 public function data_image_sizes_for_default_alignment (): array {
165162 return array (
166- 'Return thumbnail image size 150px instead of contentSize 620px ' => array (
167- 'thumbnail ' ,
168- 'sizes="(max-width: 150px) 100vw, 150px" ' ,
169- ),
170163 'Return medium image size 300px instead of contentSize 620px ' => array (
171164 'medium ' ,
172165 'sizes="(max-width: 300px) 100vw, 300px" ' ,
@@ -179,11 +172,6 @@ public function data_image_sizes_for_default_alignment(): array {
179172 'full ' ,
180173 'sizes="(max-width: 620px) 100vw, 620px" ' ,
181174 ),
182- 'Return resized size 100px instead of contentSize 620px or thumbnail image size 150px ' => array (
183- 'thumbnail ' ,
184- 'sizes="(max-width: 100px) 100vw, 100px" ' ,
185- true ,
186- ),
187175 'Return resized size 100px instead of contentSize 620px or medium image size 300px ' => array (
188176 'medium ' ,
189177 'sizes="(max-width: 100px) 100vw, 100px" ' ,
@@ -247,11 +235,6 @@ public function test_image_block_with_left_right_center_alignment( string $image
247235 */
248236 public function data_image_sizes_for_left_right_center_alignment (): array {
249237 return array (
250- 'Return thumbnail image size 150px with left alignment ' => array (
251- 'thumbnail ' ,
252- 'sizes="(max-width: 150px) 100vw, 150px" ' ,
253- 'left ' ,
254- ),
255238 'Return medium image size 300px with left alignment ' => array (
256239 'medium ' ,
257240 'sizes="(max-width: 300px) 100vw, 300px" ' ,
@@ -267,11 +250,6 @@ public function data_image_sizes_for_left_right_center_alignment(): array {
267250 'sizes="(max-width: 1080px) 100vw, 1080px" ' ,
268251 'left ' ,
269252 ),
270- 'Return thumbnail image size 150px with right alignment ' => array (
271- 'thumbnail ' ,
272- 'sizes="(max-width: 150px) 100vw, 150px" ' ,
273- 'right ' ,
274- ),
275253 'Return medium image size 300px with right alignment ' => array (
276254 'medium ' ,
277255 'sizes="(max-width: 300px) 100vw, 300px" ' ,
@@ -287,11 +265,6 @@ public function data_image_sizes_for_left_right_center_alignment(): array {
287265 'sizes="(max-width: 1080px) 100vw, 1080px" ' ,
288266 'right ' ,
289267 ),
290- 'Return thumbnail image size 150px with center alignment ' => array (
291- 'thumbnail ' ,
292- 'sizes="(max-width: 150px) 100vw, 150px" ' ,
293- 'center ' ,
294- ),
295268 'Return medium image size 300px with center alignment ' => array (
296269 'medium ' ,
297270 'sizes="(max-width: 300px) 100vw, 300px" ' ,
@@ -307,12 +280,6 @@ public function data_image_sizes_for_left_right_center_alignment(): array {
307280 'sizes="(max-width: 1080px) 100vw, 1080px" ' ,
308281 'center ' ,
309282 ),
310- 'Return resized size 100px instead of thumbnail image size 150px with left alignment ' => array (
311- 'thumbnail ' ,
312- 'sizes="(max-width: 100px) 100vw, 100px" ' ,
313- 'left ' ,
314- true ,
315- ),
316283 'Return resized size 100px instead of medium image size 300px with left alignment ' => array (
317284 'medium ' ,
318285 'sizes="(max-width: 100px) 100vw, 100px" ' ,
@@ -331,12 +298,6 @@ public function data_image_sizes_for_left_right_center_alignment(): array {
331298 'left ' ,
332299 true ,
333300 ),
334- 'Return resized size 100px instead of thumbnail image size 150px with right alignment ' => array (
335- 'thumbnail ' ,
336- 'sizes="(max-width: 100px) 100vw, 100px" ' ,
337- 'right ' ,
338- true ,
339- ),
340301 'Return resized size 100px instead of medium image size 300px with right alignment ' => array (
341302 'medium ' ,
342303 'sizes="(max-width: 100px) 100vw, 100px" ' ,
@@ -355,12 +316,6 @@ public function data_image_sizes_for_left_right_center_alignment(): array {
355316 'right ' ,
356317 true ,
357318 ),
358- 'Return resized size 100px instead of thumbnail image size 150px with center alignment ' => array (
359- 'thumbnail ' ,
360- 'sizes="(max-width: 100px) 100vw, 100px" ' ,
361- 'center ' ,
362- true ,
363- ),
364319 'Return resized size 100px instead of medium image size 300px with center alignment ' => array (
365320 'medium ' ,
366321 'sizes="(max-width: 100px) 100vw, 100px" ' ,
0 commit comments