[wp-trac] [WordPress Trac] #56629: Delete Link Manager plugin after running REST API plugins controller tests

WordPress Trac noreply at wordpress.org
Sun Sep 25 02:41:36 UTC 2022


#56629: Delete Link Manager plugin after running REST API plugins controller tests
--------------------------------------+-----------------------------
 Reporter:  ironprogrammer            |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:  5.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54301" 54301]:
 {{{
 #!CommitTicketReference repository="" revision="54301"
 Tests: Delete Link Manager plugin after running REST API plugins
 controller tests.

 After running the multisite PHPUnit test suite, the following files
 remained, contributing towards a dirty working copy:
 {{{
 tests/phpunit/data/plugins/link-manager/link-manager.php
 tests/phpunit/data/plugins/link-manager/readme.txt
 }}}
 These files should be deleted after running the tests.

 This commit ensures the `link-manager` plugin is deleted during test tear
 down, which was previously done at the beginning of some test methods, but
 not afterwards.

 Follow-up to [48242], [54300].

 Props ironprogrammer.
 Fixes #56629.
 }}}

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


More information about the wp-trac mailing list