From cd15e18e682c2fdbb11438aafd4f3b85131a7dae Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 17 Aug 2017 15:45:26 +0100 Subject: [PATCH] Fix failing test --- tests/unit-tests/api/system-status.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit-tests/api/system-status.php b/tests/unit-tests/api/system-status.php index 3769a42c3de..92a8397429f 100644 --- a/tests/unit-tests/api/system-status.php +++ b/tests/unit-tests/api/system-status.php @@ -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(