Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 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:


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 8 years ago.
Improve code coverage

Download all attachments as: .zip

Change History (5)

8 years ago

Improve code coverage

#1 @borgesbruno
8 years ago

  • Keywords has-patch has-unit-tests added

#2 @SergeyBiryukov
8 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
8 years ago

  • Milestone changed from Awaiting Review to 4.5

#4 @johnbillion
8 years ago

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