We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc64cd commit 7dc7087Copy full SHA for 7dc7087
tests/system/Test/FilterTestTraitTest.php
@@ -81,6 +81,14 @@ public function testCallerSupportClassname(): void
81
$this->assertSame('http://hellowworld.com', $result->getBody());
82
}
83
84
+ public function testCallerSupportsFilterInstance(): void
85
+ {
86
+ $caller = $this->getFilterCaller(new Customfilter(), 'before');
87
+ $result = $caller();
88
+
89
+ $this->assertSame('http://hellowworld.com', $result->getBody());
90
+ }
91
92
public function testCallerUsesClonedInstance(): void
93
{
94
$caller = $this->getFilterCaller('test-customfilter', 'before');
0 commit comments