diff --git a/tests/GoogleProfanityTest.php b/tests/GoogleProfanityTest.php index 6ffb9f2..a7fbbf4 100644 --- a/tests/GoogleProfanityTest.php +++ b/tests/GoogleProfanityTest.php @@ -40,11 +40,7 @@ class GoogleProfanityTest extends PHPUnit_Framework_TestCase */ public function testInvalidResponse() { - $file = SITE_PATH . 'null-'; - - file_put_contents($file . 'test', null); - - $this->profanity->check('test', $file); + $this->profanity->check('test', 'http://localhost'); } }