Opened 6 weeks ago
Closed 6 weeks ago
#9251 closed task (fixed)
Failing test with WordPress trunk
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 15.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch has-unit-tests |
Cc: |
Description
Let's investigate why BP_Tests_Core_Functions::test_bp_attachments_get_allowed_types
is now failing
Change History (3)
This ticket was mentioned in PR #401 on buddypress/buddypress by @imath.
6 weeks ago
#2
- Keywords has-patch has-unit-tests added
Test document
types instead of image
ones as BP image supported types are not the same than WordPress.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9251
Note: See
TracTickets for help on using
tickets.
Reason is: https://core.trac.wordpress.org/changeset/59315
That being said, the current test needs to be reviewed as it doesn't make sense to test
bp_attachments_get_allowed_types()
forimage
types adding a trailing slash so that it doesn't fall into the BuddyPress supported image types.