diff --git a/plugins/woocommerce-admin/tests/api/admin-notes.php b/plugins/woocommerce-admin/tests/api/admin-notes.php index 67dd37fffad..252f2439109 100644 --- a/plugins/woocommerce-admin/tests/api/admin-notes.php +++ b/plugins/woocommerce-admin/tests/api/admin-notes.php @@ -384,7 +384,7 @@ class WC_Tests_API_Admin_Notes extends WC_REST_Unit_Test_Case { $notes = $response->get_data(); $this->assertEquals( 200, $response->get_status() ); - $this->assertEquals( 2, count( $notes ) ); + $this->assertEquals( 4, count( $notes ) ); } /** @@ -405,7 +405,7 @@ class WC_Tests_API_Admin_Notes extends WC_REST_Unit_Test_Case { $response = $this->server->dispatch( new WP_REST_Request( 'DELETE', $this->endpoint . '/delete/all' ) ); $notes = $response->get_data(); - $this->assertEquals( 2, count( $notes ) ); + $this->assertEquals( 4, count( $notes ) ); $request = new WP_REST_Request( 'PUT', $this->endpoint . '/undoremove' ); $request->set_body_params(