diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php index d92a2104..033cc825 100644 --- a/tests/Monolog/Formatter/GelfMessageFormatterTest.php +++ b/tests/Monolog/Formatter/GelfMessageFormatterTest.php @@ -196,7 +196,7 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase try { $resource = fopen('php://memory', '+w'); // Just do something stupid with a resource as argument - strpos($resource); + strpos($resource, 'FOO'); } catch (\Exception $e) { }