@@ -39,7 +39,7 @@ public function test_upload_with_limited_key_should_show_error() {
3939 }
4040
4141 public function test_upload_with_valid_key_should_show_sizes_compressed () {
42- $ this ->set_api_key ( 'PNG123 ' );
42+ $ this ->set_api_key ( 'JPG123 ' );
4343 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
4444
4545 $ this ->assertContains (
@@ -73,7 +73,7 @@ public function test_upload_with_incorrect_metadata_should_show_error() {
7373
7474 public function test_upload_should_show_details_in_edit_screen () {
7575 if ( ! $ this ->has_postbox_container () ) { return ; }
76- $ this ->set_api_key ( 'PNG123 ' );
76+ $ this ->set_api_key ( 'JPG123 ' );
7777 $ this ->enable_compression_sizes ( array () );
7878 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
7979 $ this ->enable_compression_sizes ( array ( 'medium ' , 'large ' ) );
@@ -87,7 +87,7 @@ public function test_upload_should_show_details_in_edit_screen() {
8787
8888 public function test_upload_should_show_details_in_edit_screen_popup () {
8989 if ( ! $ this ->has_postbox_container () ) { return ; }
90- $ this ->set_api_key ( 'JPG123 ' );
90+ $ this ->set_api_key ( 'PNG123 ' );
9191 $ this ->enable_compression_sizes ( array ( 'medium ' , 'large ' ) );
9292 $ this ->upload_media ( 'test/fixtures/input-example.png ' );
9393
@@ -102,7 +102,7 @@ public function test_upload_should_show_details_in_edit_screen_popup() {
102102
103103 public function test_upload_should_show_compression_details_in_edit_screen_popup () {
104104 if ( ! $ this ->has_postbox_container () ) { return ; }
105- $ this ->set_api_key ( 'PNG123 ' );
105+ $ this ->set_api_key ( 'JPG123 ' );
106106 $ this ->enable_compression_sizes ( array ( 'medium ' , 'large ' ) );
107107 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
108108
@@ -141,7 +141,7 @@ public function test_compress_button_in_edit_screen_should_compress_images() {
141141 if ( ! $ this ->has_postbox_container () ) { return ; }
142142 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
143143
144- $ this ->set_api_key ( 'PNG123 ' );
144+ $ this ->set_api_key ( 'JPG123 ' );
145145 $ this ->enable_compression_sizes ( array ( 'medium ' , 'large ' ) );
146146
147147 $ this ->find_link ( 'input-example ' )->click ();
@@ -154,7 +154,7 @@ public function test_compress_button_in_edit_screen_should_compress_images() {
154154 }
155155
156156 public function test_compress_button_should_compress_uncompressed_sizes () {
157- $ this ->set_api_key ( 'PNG123 ' );
157+ $ this ->set_api_key ( 'JPG123 ' );
158158
159159 $ this ->enable_compression_sizes ( array ( 'medium ' ) );
160160 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
@@ -206,7 +206,7 @@ public function test_limit_reached_dismiss_button_should_remove_error() {
206206 }
207207
208208 public function test_resize_fit_should_display_resized_text_in_library () {
209- $ this ->set_api_key ( 'PNG123 ' );
209+ $ this ->set_api_key ( 'JPG123 ' );
210210 $ this ->enable_resize (array (
211211 'method ' => 'fit ' ,
212212 'width ' => 300 ,
@@ -224,7 +224,7 @@ public function test_resize_fit_should_display_resized_text_in_library() {
224224
225225 public function test_resize_fit_should_display_resized_text_in_edit_screen () {
226226 if ( ! $ this ->has_postbox_container () ) { return ; }
227- $ this ->set_api_key ( 'PNG123 ' );
227+ $ this ->set_api_key ( 'JPG123 ' );
228228 $ this ->enable_resize (array (
229229 'method ' => 'fit ' ,
230230 'width ' => 300 ,
@@ -241,7 +241,7 @@ public function test_resize_fit_should_display_resized_text_in_edit_screen() {
241241 }
242242
243243 public function test_resize_scale_should_display_resized_text_in_library () {
244- $ this ->set_api_key ( 'PNG123 ' );
244+ $ this ->set_api_key ( 'JPG123 ' );
245245 $ this ->enable_resize (array (
246246 'method ' => 'scale ' ,
247247 'height ' => 200 ,
@@ -258,7 +258,7 @@ public function test_resize_scale_should_display_resized_text_in_library() {
258258
259259 public function test_resize_scale_should_display_resized_text_in_edit_screen () {
260260 if ( ! $ this ->has_postbox_container () ) { return ; }
261- $ this ->set_api_key ( 'PNG123 ' );
261+ $ this ->set_api_key ( 'JPG123 ' );
262262 $ this ->enable_resize (array (
263263 'method ' => 'scale ' ,
264264 'height ' => 200 ,
@@ -274,7 +274,7 @@ public function test_resize_scale_should_display_resized_text_in_edit_screen() {
274274 }
275275
276276 public function test_superfluous_resize_should_not_display_resized_text_in_library () {
277- $ this ->set_api_key ( 'PNG123 ' );
277+ $ this ->set_api_key ( 'JPG123 ' );
278278 $ this ->enable_resize (array (
279279 'method ' => 'fit ' ,
280280 'width ' => 15000 ,
@@ -292,7 +292,7 @@ public function test_superfluous_resize_should_not_display_resized_text_in_libra
292292
293293 public function test_superfluous_resize_should_display_original_dimensions_in_edit_screen () {
294294 if ( ! $ this ->has_postbox_container () ) { return ; }
295- $ this ->set_api_key ( 'PNG123 ' );
295+ $ this ->set_api_key ( 'JPG123 ' );
296296 $ this ->enable_resize (array (
297297 'method ' => 'fit ' ,
298298 'width ' => 15000 ,
@@ -309,7 +309,7 @@ public function test_superfluous_resize_should_display_original_dimensions_in_ed
309309 }
310310
311311 public function test_resize_disabled_should_not_display_resized_text_in_library () {
312- $ this ->set_api_key ( 'PNG123 ' );
312+ $ this ->set_api_key ( 'JPG123 ' );
313313 $ this ->disable_resize ();
314314
315315 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
@@ -323,7 +323,7 @@ public function test_resize_disabled_should_not_display_resized_text_in_library(
323323
324324 public function test_resize_disabled_should_display_original_dimensions_in_edit_screen () {
325325 if ( ! $ this ->has_postbox_container () ) { return ; }
326- $ this ->set_api_key ( 'PNG123 ' );
326+ $ this ->set_api_key ( 'JPG123 ' );
327327 $ this ->disable_resize ();
328328
329329 $ this ->upload_media ( 'test/fixtures/input-example.jpg ' );
0 commit comments