PhpSpreadsheet/tests/PhpSpreadsheetTests/Reader/HTMLTest.php

20 lines
441 B
PHP
Raw Normal View History

2016-10-23 19:18:59 +00:00
<?php
namespace PhpOffice\PhpSpreadsheetTests\Reader;
use PhpOffice\PhpSpreadsheet\Reader\HTML;
class HTMLTest extends \PHPUnit_Framework_TestCase
{
public function testCsvWithAngleBracket()
{
$filename = __DIR__ . '/../../data/Reader/HTML/csv_with_angle_bracket.csv';
$this->assertFalse($this->getInstance()->canRead($filename));
}
private function getInstance()
{
return new HTML();
}
}