Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37849 closed defect (bug) (fixed)

assertQueryTrue() doesn't handle is_front_page()

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch needs-unit-tests
Focuses: Cc:

Description

is_front_page() is missing from the list of query conditionals in WP_UnitTestCase::assertQueryTrue().

Attachments (1)

37849.patch (1.3 KB) - added by johnbillion 8 years ago.

Download all attachments as: .zip

Change History (2)

@johnbillion
8 years ago

#1 @johnbillion
8 years ago

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

In 38405:

Build/Test Tools: Add support for is_front_page() to assertQueryTrue() and assert that all the tested conditions are supported by the method.

Fixes #37849

Note: See TracTickets for help on using tickets.