WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 11 months ago

Last modified 10 months ago

#41357 closed defect (bug) (fixed)

test_comment_query_should_be_cached() doesn't perform an assertion

Reported by: johnbillion Owned by: boonebgorges
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.6
Component: Comments Keywords: needs-unit-tests
Focuses: Cc:

Description

The unit test Tests_Comment_Query::test_comment_query_should_be_cached() isn't complete and doesn't perform an assertion.

Introduced in [37608] for #36906.

cc @boonebgorges

Change History (2)

#1 @boonebgorges
11 months ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 41188:

Ensure that an assertion takes place in Tests_Comment_Query::test_comment_query_should_be_cached().

Missed during [37608]. See #36906.

Fixes #41357.

#2 @SergeyBiryukov
10 months ago

  • Milestone changed from Awaiting Review to 4.9
Note: See TracTickets for help on using tickets.