sniff fixes

This commit is contained in:
Refael Iliaguyev 2019-01-23 17:26:17 +02:00
parent 8f0f22c11b
commit 398bbe3754
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ class WC_Tests_REST_System_Status extends WC_REST_Unit_Test_Case {
$data = $response->get_data(); $data = $response->get_data();
$environment = (array) $data['environment']; $environment = (array) $data['environment'];
// Make sure all expected data is present // Make sure all expected data is present.
$this->assertEquals( 32, count( $environment ) ); $this->assertEquals( 32, count( $environment ) );
// Test some responses to make sure they match up. // Test some responses to make sure they match up.

View File

@ -78,7 +78,7 @@ class WC_Tests_REST_System_Status_V2 extends WC_REST_Unit_Test_Case {
$data = $response->get_data(); $data = $response->get_data();
$environment = (array) $data['environment']; $environment = (array) $data['environment'];
// Make sure all expected data is present // Make sure all expected data is present.
$this->assertEquals( 32, count( $environment ) ); $this->assertEquals( 32, count( $environment ) );
// Test some responses to make sure they match up. // Test some responses to make sure they match up.