Changed path

This commit is contained in:
Josh Sherman 2014-09-23 22:30:15 -04:00
parent d55a338021
commit e118228e9c

View file

@ -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);
}
}