[wp-trac] [WordPress Trac] #59938: phpUnit test for wpScheduledDelete

WordPress Trac noreply at wordpress.org
Tue Nov 28 20:23:44 UTC 2023


#59938: phpUnit test for wpScheduledDelete
--------------------------------------+------------------------------
 Reporter:  pbearne                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by jorbin):

 I think this might benefit from actual setup/teardown functions so that
 there is assurance that the posts/comments created are deleted regardless
 of test success.

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


More information about the wp-trac mailing list