From 0a567f762460f970a82d777a3cad114c5b63534b Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Tue, 23 Sep 2014 22:23:44 -0400 Subject: [PATCH] Updated URL --- tests/GoogleProfanityTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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'); } }