sniff fixes
This commit is contained in:
parent
8f0f22c11b
commit
398bbe3754
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue