[wp-trac] [WordPress Trac] #53673: Add unit tests for v5.8 widget sidebar IDs

WordPress Trac noreply at wordpress.org
Fri Jul 16 13:35:47 UTC 2021


#53673: Add unit tests for v5.8 widget sidebar IDs
-------------------------------------+-------------------------------------
 Reporter:  JeffPaul                 |       Owner:  hellofromTonya
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.8.1
Component:  REST API                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  administration, rest-
  tests                              |  api
-------------------------------------+-------------------------------------

Comment (by desrosj):

 To copy my thoughts over on the current patch:

 > The test looks good to me, though I'm not sure about where the test
 class actually belongs.
 >
 > It looks like we have a file in `DIR_TESTDATA` with some widgets, but
 there are only 2 and they are all tied to a specific data provider. I've
 also been trying to think of a way to refactor out the need for the class
 at all, but nothing comes to mind right now.

 I'm looking for some guidance/suggestions from contributors with more
 knowledge about why the suite is organized how it is.

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


More information about the wp-trac mailing list