Changeset 14067
- Timestamp:
- 10/31/2024 05:12:29 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions.php
r13998 r14067 778 778 $this->assertSame( $supported, $cover_image ); 779 779 780 $ images = bp_attachments_get_allowed_types( 'image/' );781 782 foreach ( $ images as $image) {783 if ( ' image' !== wp_ext2type( $image) ) {784 $not_ image = $image;780 $documents = bp_attachments_get_allowed_types( 'document' ); 781 782 foreach ( $documents as $document ) { 783 if ( 'document' !== wp_ext2type( $document ) ) { 784 $not_document = $document; 785 785 } 786 786 } 787 787 788 $this->assertTrue( empty( $not_ image) );788 $this->assertTrue( empty( $not_document ) ); 789 789 } 790 790
Note: See TracChangeset
for help on using the changeset viewer.