[wp-trac] [WordPress Trac] #30860: Add unit tests for plugin.php

WordPress Trac noreply at wordpress.org
Tue Dec 30 19:23:51 UTC 2014


#30860: Add unit tests for plugin.php
------------------------------+--------------------
 Reporter:  sgrant            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+--------------------

Comment (by boonebgorges):

 In [changeset:"31002"]:
 {{{
 #!CommitTicketReference repository="" revision="31002"
 Improved tests for wp-admin/includes/plugin.php.

 - Improved cleanup for existing tests, by ensuring that plugins are
 deactivated.
 - New tests for `get_plugin_files()`, `get_mu_plugins()`,
 `_sort_uname_callback()`, `get_dropins()`, `is_network_only_plugin()`,
 `activate_plugins()`, `validate_active_plugins()`, and
 `is_uninstallable_plugin()`.

 Props sgrant.
 See #30860.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30860#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list