From c8fa66f25ff6469c3278f385cfabad51889912d5 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 2 Dec 2024 19:58:36 +1300 Subject: [PATCH] MNT Fix unit test --- tests/php/Dev/BacktraceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php/Dev/BacktraceTest.php b/tests/php/Dev/BacktraceTest.php index 2435ab5c8b4..682c12018ec 100644 --- a/tests/php/Dev/BacktraceTest.php +++ b/tests/php/Dev/BacktraceTest.php @@ -161,7 +161,7 @@ public static function matchesFilterableClassProvider(): array #[DataProvider('matchesFilterableClassProvider')] public function testMatchesFilterableClass(string $className, string $filterableClass, bool $expected, string $message): void { - $reflectionMethod = new ReflectionMethod(Backtrace::class . '::matchesFilterableClass'); + $reflectionMethod = new ReflectionMethod(Backtrace::class, 'matchesFilterableClass'); $reflectionMethod->setAccessible(true); $this->assertSame($expected, $reflectionMethod->invoke(null, $className, $filterableClass), $message); }