mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-23 14:12:10 +00:00
f24dcc7911
Fix #2463. These continue to dribble in regularly.
21 lines
588 B
PHP
21 lines
588 B
PHP
<?php
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Reader\Xls;
|
|
|
|
use PhpOffice\PhpSpreadsheet\Reader\Xls;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class Issue2463Test extends TestCase
|
|
{
|
|
public function testNoUnknownIndexNotice(): void
|
|
{
|
|
// Unknown index notice when loading
|
|
$filename = 'tests/data/Reader/XLS/issue.2463.xls';
|
|
$reader = new Xls();
|
|
$spreadsheet = $reader->load($filename);
|
|
$sheet = $spreadsheet->getActiveSheet();
|
|
self::assertSame('bol.com bestellingen', $sheet->getTitle());
|
|
$spreadsheet->disconnectWorksheets();
|
|
}
|
|
}
|