[wp-trac] [WordPress Trac] #41123: Modified `WP_TESTS_TITLE` causes dirty wp-api-generated.js

WordPress Trac noreply at wordpress.org
Wed Jul 5 09:30:00 UTC 2017


#41123: Modified `WP_TESTS_TITLE` causes dirty wp-api-generated.js
------------------------------+----------------------
 Reporter:  boonebgorges      |       Owner:  jnylen0
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  REST API          |     Version:  4.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by jnylen0):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41006"]:
 {{{
 #!CommitTicketReference repository="" revision="41006"
 Ensure that `wp-api.js` test fixtures do not change with `WP_TESTS_*`
 constants.

 Previously, changing these constants in `wp-tests-config` would cause
 PHPUnit to regenerate `wp-api-generated.js` with different values.

 This commit uses the existing mechanism to also "freeze" all values that
 would change as a result of changing these constants.

 Fixes #41123.
 }}}

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


More information about the wp-trac mailing list