summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/MySqlShimTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/MySqlShimTest.php b/tests/MySqlShimTest.php
index ae2bbbc..02f4404 100644
--- a/tests/MySqlShimTest.php
+++ b/tests/MySqlShimTest.php
@@ -687,10 +687,9 @@ class MySqlShimTest extends \Yoast\PHPUnitPolyfills\TestCases\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);
}