update the test that counts the number of fields in the SSR API response
This commit is contained in:
parent
0687e86c92
commit
85814deeb6
|
@ -113,7 +113,7 @@ class WC_Tests_REST_System_Status_V2 extends WC_REST_Unit_Test_Case {
|
|||
$environment = (array) $this->fetch_or_get_system_status_data_for_user( self::$administrator_user )['environment'];
|
||||
|
||||
// Make sure all expected data is present.
|
||||
$this->assertEquals( 32, count( $environment ) );
|
||||
$this->assertEquals( 33, count( $environment ) );
|
||||
|
||||
// Test some responses to make sure they match up.
|
||||
$this->assertEquals( get_option( 'home' ), $environment['home_url'] );
|
||||
|
|
|
@ -120,7 +120,7 @@ class WC_Tests_REST_System_Status extends WC_REST_Unit_Test_Case {
|
|||
$environment = (array) $this->fetch_or_get_system_status_data_for_user( self::$administrator_user )['environment'];
|
||||
|
||||
// Make sure all expected data is present.
|
||||
$this->assertEquals( 32, count( $environment ) );
|
||||
$this->assertEquals( 33, count( $environment ) );
|
||||
|
||||
// Test some responses to make sure they match up.
|
||||
$this->assertEquals( get_option( 'home' ), $environment['home_url'] );
|
||||
|
|
Loading…
Reference in New Issue