Make WordPress Core

Opened 8 months ago

Closed 7 months ago

Last modified 7 months ago

#60219 closed task (blessed) (fixed)

PHPunit test for _mce_set_direction

Reported by: pbearne's profile pbearne Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests commit
Focuses: Cc:

Description


Change History (9)

#1 @pbearne
8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

#2 @pbearne
8 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Summary changed from PHPunit test for wp_parse_list to PHPunit test for _mce_set_direction

This ticket was mentioned in PR #5852 on WordPress/wordpress-develop by @pbearne.


8 months ago
#3

  • Keywords has-patch has-unit-tests added

This commit introduces a new PHPUnit test for the _mce_set_direction function within WordPress. The test checks the functionality of the text direction setting, ensuring it correctly switches between 'rtl' and 'ltr' options. Furthermore, the changes improve code traceability by linking the test to ticket 60219.

#4 @SergeyBiryukov
8 months ago

  • Milestone set to 6.5
  • Owner set to SergeyBiryukov
  • Status changed from reopened to accepted

#5 @swissspidy
7 months ago

  • Type changed from defect (bug) to task (blessed)

#6 @swissspidy
7 months ago

  • Keywords commit added

#7 @swissspidy
7 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 57718:

Build/Test Tools: Add PHPUnit test for the _mce_set_direction function.

The new test checks the functionality of the text direction setting, ensuring it correctly switches between rtl and ltr options.

Props pbearne, SergeyBiryukov.
Fixes #60219.

#9 @swissspidy
7 months ago

#57192 was marked as a duplicate.

Note: See TracTickets for help on using tickets.