You are here

public function DateTest::testSetExcelCalendarWithInvalidValue in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/DateTest.php \DateTest::testSetExcelCalendarWithInvalidValue()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/DateTest.php, line 30

Class

DateTest

Code

public function testSetExcelCalendarWithInvalidValue() {
  $unsupportedCalendar = '2012';
  $result = call_user_func(array(
    'PHPExcel_Shared_Date',
    'setExcelCalendar',
  ), $unsupportedCalendar);
  $this
    ->assertFalse($result);
}