Skip to content

Commit 51e8026

Browse files
committed
Tests: Isolate media admin attachment preview coverage
1 parent feabf3d commit 51e8026

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/phpunit/tests/admin/includesMedia.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public function tear_down(): void {
3535

3636
/**
3737
* @ticket 64929
38+
* @runInSeparateProcess
39+
* @preserveGlobalState disabled
3840
*/
3941
public function test_edit_form_image_editor_skips_fallback_link_for_non_previewable_video() {
4042
$attachment_id = $this->create_upload_attachment_from_contents( 'sample.avi', 'RIFF0000AVI LIST' );
@@ -50,6 +52,8 @@ public function test_edit_form_image_editor_skips_fallback_link_for_non_previewa
5052

5153
/**
5254
* @ticket 64929
55+
* @runInSeparateProcess
56+
* @preserveGlobalState disabled
5357
*/
5458
public function test_edit_form_image_editor_keeps_preview_for_supported_video() {
5559
$attachment_id = self::factory()->attachment->create_upload_object( DIR_TESTDATA . '/uploads/small-video.mp4' );

0 commit comments

Comments
 (0)