diff --git a/tests/system/Test/FilterTestTraitTest.php b/tests/system/Test/FilterTestTraitTest.php index bebec3857030..c05ea29ed340 100644 --- a/tests/system/Test/FilterTestTraitTest.php +++ b/tests/system/Test/FilterTestTraitTest.php @@ -73,6 +73,14 @@ public function testCallerSupportArray(): void $this->assertSame('http://hellowworld.com', $result->getBody()); } + public function testCallerSupportClassname(): void + { + $caller = $this->getFilterCaller(Customfilter::class, 'before'); + $result = $caller(); + + $this->assertSame('http://hellowworld.com', $result->getBody()); + } + public function testCallerUsesClonedInstance(): void { $caller = $this->getFilterCaller('test-customfilter', 'before');