Fix failing test

This commit is contained in:
Mike Jolley 2017-08-17 15:45:26 +01:00
parent 5ff7704db4
commit cd15e18e68
1 changed files with 2 additions and 3 deletions

View File

@ -223,11 +223,10 @@ class WC_Tests_REST_System_Status extends WC_REST_Unit_Test_Case {
$this->assertEquals( 200, $response->get_status() );
$this->assertEquals( count( $raw_tools ), count( $data ) );
$this->assertContains( array(
'id' => 'reset_tracking',
'name' => 'Reset usage tracking settings',
'action' => 'Reset usage tracking settings',
'name' => 'Reset usage tracking',
'action' => 'Reset',
'description' => 'This will reset your usage tracking settings, causing it to show the opt-in banner again and not sending any data.',
'_links' => array(
'item' => array(