[wp-trac] [WordPress Trac] #39054: REST API: Improve error messages for number relational validation

WordPress Trac noreply at wordpress.org
Sun Dec 4 19:35:42 UTC 2016


#39054: REST API: Improve error messages for number relational validation
--------------------------------------+-----------------------
 Reporter:  jblz                      |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.7.1
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------
Changes (by jnylen0):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 > There's already some coverage around the general behavior

 In my previous comment I forgot that we don't generally test the text of
 error messages, just the error code (and any extra data associated with
 parameters).  So I'm not too worried about it either way.
 [attachment:39054.2.diff] LGTM for 4.7.1.

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


More information about the wp-trac mailing list