From 31daed0048f2004628038771af1055fbf69ab767 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Wed, 2 Aug 2017 23:13:08 +0200 Subject: [PATCH] Fix class name case --- tests/PhpSpreadsheetTests/Reader/HTMLTest.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/PhpSpreadsheetTests/Reader/HTMLTest.php b/tests/PhpSpreadsheetTests/Reader/HTMLTest.php index b1b51a59..ca85be9c 100644 --- a/tests/PhpSpreadsheetTests/Reader/HTMLTest.php +++ b/tests/PhpSpreadsheetTests/Reader/HTMLTest.php @@ -10,11 +10,7 @@ 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(); + $reader = new Html(); + $this->assertFalse($reader->canRead($filename)); } }