Tests: Remove a couple of invalid error assertions.

A couple of REST API tests had an assertion `assertNotInstanceOf( 'WP_Error', $response );` which will never be true.

Since these assertions are invalid, and also made redundant by the response status check, we can just remove them.

Props dlh.
Fixes #40270.

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


git-svn-id: http://core.svn.wordpress.org/trunk@40257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
James Nylen 2017-03-29 17:06:44 +00:00
parent e8c4b8c8e7
commit 977c5f85e3

View File

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