REST API: Fix error in Request tests.

On the 21st of November, 2014, I committed tests for WP_REST_Request
to the API plugin. Although I didn't realise at the time, I was
causing my future self to go through hours of sufferring.

Unfortunately, I forgot to call parent::setUp() which would break
the tests in subtle ways in the future and would ruin the good part
of my day.

Let this be a warning to all of you who write future unit tests.

See f0396be17e
for the original commit.

Built from https://develop.svn.wordpress.org/trunk@36678


git-svn-id: http://core.svn.wordpress.org/trunk@36645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan McCue 2016-02-24 08:29:26 +00:00
parent 771cfe22ba
commit 21b22c0fb6
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36677';
$wp_version = '4.5-alpha-36678';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.