[wp-trac] [WordPress Trac] #41871: Code Editor: Add unit tests
WordPress Trac
noreply at wordpress.org
Fri Oct 13 15:33:05 UTC 2017
#41871: Code Editor: Add unit tests
--------------------------+-----------------------
Reporter: westonruter | Owner: ryotsun
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 4.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by ryotsun):
@westonruter
Thank you for your review.
I fixed some test but I'm not sure it's correct. :(
Deleted `test_enqueue_admin_scripts()` method and added the following
methods.
- `test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_on()`
-
`test_enqueue_admin_scripts_when_logged_in_and_syntax_highlighting_off()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41871#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list