diff --git a/tests/GoogleProfanityTest.php b/tests/GoogleProfanityTest.php index 2840872..0488e36 100644 --- a/tests/GoogleProfanityTest.php +++ b/tests/GoogleProfanityTest.php @@ -40,7 +40,11 @@ class GoogleProfanityTest extends PHPUnit_Framework_TestCase */ public function testInvalidResponse() { - $this->profanity->check('test', 'http://127.0.0.1?q='); + $file = '/tmp/null-'; + + file_put_contents($file . 'test', null); + + $this->profanity->check('test', $file); } }