Changed path
This commit is contained in:
parent
d55a338021
commit
e118228e9c
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ class GoogleProfanityTest extends PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
public function testInvalidResponse()
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue