Skip to content

Commit fea40c0

Browse files
committed
update tests
1 parent 56d12f0 commit fea40c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/MacroableTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ protected function methodThree()
9898
});
9999

100100
test('test flush macros', function (): void {
101-
TestMacroable::macro('flushMethod', function () {
101+
$this->TestMacroable::macro('flushMethod', function () {
102102
return 'flushMethod';
103103
});
104104

105-
$instance = new TestMacroable;
105+
$instance = new $this->TestMacroable;
106106

107107
$this->assertSame('flushMethod', $instance->flushMethod());
108108

109-
TestMacroable::flushMacros();
109+
$this->TestMacroable::flushMacros();
110110

111111
$this->expectException(BadMethodCallException::class);
112112

0 commit comments

Comments
 (0)