You are here

public function TimeZoneTest::testSetTimezoneWithInvalidValue in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/TimeZoneTest.php \TimeZoneTest::testSetTimezoneWithInvalidValue()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/TimeZoneTest.php, line 32

Class

TimeZoneTest

Code

public function testSetTimezoneWithInvalidValue() {
  $unsupportedTimezone = 'Etc/GMT+10';
  $result = call_user_func(array(
    'PHPExcel_Shared_TimeZone',
    'setTimezone',
  ), $unsupportedTimezone);
  $this
    ->assertFalse($result);
}