You are here

public function SanitizerHelperTest::testSanitize in SVG Upload Sanitizer 8

File

tests/src/Unit/Helper/SanitizerHelperTest.php, line 85

Class

SanitizerHelperTest
Unit test class for the SanitizeHelper class.

Namespace

Drupal\Tests\svg_upload_sanitizer\Unit\Helper

Code

public function testSanitize() {
  list($file) = $this
    ->prepareFile(TRUE, TRUE);
  $this
    ->assertTrue($this->sanitizerHelper
    ->sanitize($file));
}