Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#35972 closed enhancement (fixed)

Unit test for test_bool_from_yn

Reported by: borgesbruno's profile borgesbruno Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

This method test_bool_from_yn is really simple, but there were not any tests for that, so. I really decided to help to improve the code coverage of the file wp-includes/functions.php then I made a simple test for a simple method.

Attachments (1)

35972.diff (558 bytes) - added by borgesbruno 9 years ago.
Improve code coverage

Download all attachments as: .zip

Change History (5)

@borgesbruno
9 years ago

Improve code coverage

#1 @borgesbruno
9 years ago

  • Keywords has-patch has-unit-tests added

#2 @SergeyBiryukov
9 years ago

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

In 36764:

Ad a unit test for bool_from_yn().

Props borgesbruno.
Fixes #35972.

#3 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 4.5

#4 @johnbillion
9 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.