[Tests] Fixed the tests for wc_timezone_string()
This commit is contained in:
parent
a579ce4578
commit
130ddb2b56
|
@ -423,7 +423,7 @@ class WC_Tests_Formatting_Functions extends WC_Unit_Test_Case {
|
|||
|
||||
// test with manually set UTC offset
|
||||
update_option( 'gmt_offset', -4 );
|
||||
$this->assertEquals( 'America/Boa_Vista', wc_timezone_string() );
|
||||
$this->assertEquals( 'America/Halifax', wc_timezone_string() );
|
||||
|
||||
// test with invalid offset
|
||||
update_option( 'gmt_offset', 99 );
|
||||
|
|
Loading…
Reference in New Issue