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 56d12f0 commit fea40c0Copy full SHA for fea40c0
1 file changed
tests/MacroableTest.php
@@ -98,15 +98,15 @@ protected function methodThree()
98
});
99
100
test('test flush macros', function (): void {
101
- TestMacroable::macro('flushMethod', function () {
+ $this->TestMacroable::macro('flushMethod', function () {
102
return 'flushMethod';
103
104
105
- $instance = new TestMacroable;
+ $instance = new $this->TestMacroable;
106
107
$this->assertSame('flushMethod', $instance->flushMethod());
108
109
- TestMacroable::flushMacros();
+ $this->TestMacroable::flushMacros();
110
111
$this->expectException(BadMethodCallException::class);
112
0 commit comments