Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37849 closed defect (bug) (fixed)

assertQueryTrue() doesn't handle is_front_page()

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

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 10 years ago.

Download all attachments as: .zip

Change History (2)

@johnbillion
10 years ago

#1 @johnbillion
10 years ago

  • Owner set to johnbillion
  • Resolutionfixed
  • Status newclosed

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.