[wp-trac] [WordPress Trac] #62278: Tests: Reduce usage of assertEquals for 6.8
WordPress Trac
noreply at wordpress.org
Sun Dec 15 23:22:38 UTC 2024
#62278: Tests: Reduce usage of assertEquals for 6.8
--------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"59516" 59516]:
{{{
#!CommitTicketReference repository="" revision="59516"
Tests: Clean up `convert_smilies()` tests.
Includes:
* Removing redundant `use_smilies` option switches, as it is set to 1 by
default.
* Restoring the `$wpsmiliestrans` array before performing assertions, not
after.
* Moving most of the `smilies_init()` calls to a `set_up()` method.
Follow-up to [409/tests], [26191], [28717].
See #62278.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62278#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list