[wp-trac] [WordPress Trac] #52579: Delete link-manager.zip after running the REST API plugins controller tests

WordPress Trac noreply at wordpress.org
Thu Apr 1 20:40:11 UTC 2021


#52579: Delete link-manager.zip after running the REST API plugins controller tests
------------------------------+----------------------------
 Reporter:  johnbillion       |       Owner:  davidbaumwald
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Build/Test Tools  |     Version:  5.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by davidbaumwald):

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


Comment:

 In [changeset:"50633" 50633]:
 {{{
 #!CommitTicketReference repository="" revision="50633"
 Build/Test Tools: Cleanup `link-manager.zip` after REST API tests are
 finished.

 Introduced in [48242], the `link-manager` plugin is copied from
 `DIR_TESTDATA/plugins` to `DIR_TESTDATA` during the REST API unit tests,
 but was not cleaned up afterward.  This created a "dirty" local working
 copy.  This change `unlink`s the copied plugin from `DIR_TESTDATA` after
 unit tests are completed.

 Props johnbillion, TimothyBlynJacobs, desrosj, rachelbaker.
 Fixes #52579.
 }}}

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


More information about the wp-trac mailing list