Browse Source

Remove file_put_contents

pull/97/head
swentel 4 years ago
parent
commit
f9169da969
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      tests/SanitizeTest.php

+ 0
- 1
tests/SanitizeTest.php View File

@ -127,7 +127,6 @@ class SanitizeTest extends PHPUnit_Framework_TestCase {
$body = $response->getContent();
$data = json_decode($body, true);
$html = $data['data']['content']['html'];
file_put_contents('html', $html);
$this->assertContains('youtube.com', $html);
$this->assertNotContains('https://attack-domain.com', $html);
$this->assertNotContains('<iframe width="580" height="345"', $html);

Loading…
Cancel
Save