Skip to:
Content

BuddyPress.org

Changeset 12677


Ignore:
Timestamp:
07/04/2020 10:26:59 AM (4 years ago)
Author:
imath
Message:

Test tool: ignore the heic image extension into 1 of our unit tests

The unit test is test_bp_attachments_get_allowed_types(). Depending on the response about this upstream ticket, we'll leave it as is or revert this commit.

See #8328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/functions.php

    r12606 r12677  
    794794
    795795        foreach ( $images as $image ) {
     796            if ( 'heic' === $image ) {
     797                continue;
     798            }
     799
    796800            if ( 'image' !== wp_ext2type( $image ) ) {
    797801                $not_image = $image;
Note: See TracChangeset for help on using the changeset viewer.