diff options
-rw-r--r-- | tests/MySqlShimTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/MySqlShimTest.php b/tests/MySqlShimTest.php index ea9b2c3..97d7599 100644 --- a/tests/MySqlShimTest.php +++ b/tests/MySqlShimTest.php @@ -688,8 +688,10 @@ class MySqlShimTest extends \PHPUnit\Framework\TestCase if ($args !== array()) { array_unshift($args, null); + $this->expectWarningMessageMatches('@' . __FILE__ . ':' . (__LINE__ + 1) . '@'); call_user_func_array($function, $args); } + $this->expectWarningMessageMatches('@' . __FILE__ . ':' . (__LINE__ + 1) . '@'); call_user_func($function, null); } |