Skip to:
Content

bbPress.org

Opened 3 months ago

Last modified 3 months ago

#3657 assigned task (blessed)

Unit test failures in 2.7

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: Tools - Unit Tests Keywords:
Cc:

Description

Many of the unit tests have been failing for a while, so I'm creating this ticket to track the commits necessary to get them all passing.

Change History (5)

#2 @johnjamesjacoby
3 months ago

In 7367:

Tools - Unit Tests: plan for seems_utf8() to be deprecated.

This commit updates 3 author-link unit tests to avoid WordPress Deprecation notices.

See #3657.

#3 @johnjamesjacoby
3 months ago

In 7368:

Tools - Unit Tests: allow mentions after '[' and '(' chars.

This commit fixes the suite of user-mentions unit tests, so that they no longer require an empty "class" attribute, and also so that mentions inside of common wrappers ((), [] ) are allowed.

See #3657.

#4 @johnjamesjacoby
3 months ago

In 7369:

Tools - Unit Tests: update bbp_get_forum_permalink() to better support hierarchical URIs.

This commit ensures that the test_bbp_get_forum_permalink() test passes, and that hierarchical Forum post-type links are correctly formatted when using unpretty/plain permalinks.

See #3657.

#5 @johnjamesjacoby
3 months ago

In 7370:

Tools - Unit Tests: update test_bbp_spam_topic() with more accurate before/after tests.

This commit ensures that the test_bbp_spam_topic() tests pass, and that the various counts, and last IDs and times before & after spamming a topic, are operating as intended.

See #3657.

Note: See TracTickets for help on using tickets.