Completed
Push — develop ( 98b532...40efcd )
by Adrien
27:48
created

HtmlTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A testCsvWithAngleBracket() 0 6 1
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheetTests\Reader;
4
5
use PhpOffice\PhpSpreadsheet\Reader\Html;
6
use PHPUnit_Framework_TestCase;
7
8
class HtmlTest extends PHPUnit_Framework_TestCase
9
{
10
    public function testCsvWithAngleBracket()
11
    {
12
        $filename = __DIR__ . '/../../data/Reader/HTML/csv_with_angle_bracket.csv';
13
        $reader = new Html();
14
        self::assertFalse($reader->canRead($filename));
15
    }
16
}
17