Jyxo\HtmlTest::testRemoveDangerous PHP Method

testRemoveDangerous() public method

Tests the removeDangerous() method.
See also: Jyxo\Html::removeDangerous()
public testRemoveDangerous ( )
    public function testRemoveDangerous()
    {
        $this->assertStringEqualsFile($this->filePath . '/removedangerous-expected.html', Html::removeDangerous(file_get_contents($this->filePath . '/removedangerous.html')));
    }