From e118228e9cf4bf5e43c68341ef7159211aca7986 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Tue, 23 Sep 2014 22:30:15 -0400 Subject: [PATCH] Changed path --- tests/GoogleProfanityTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } }