We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class CrudPanelMacroTest extends BaseCrudPanelTest |
||
9 | { |
||
10 | public function testItCanRegisterMacro() |
||
11 | { |
||
12 | $this->crudPanel::macro('validMacro', function () { |
||
13 | return true; |
||
14 | }); |
||
15 | |||
16 | $this->assertTrue($this->crudPanel->validMacro()); |
||
|
|||
17 | } |
||
18 | |||
19 | public function testThrowsErrorIfMacroExists() |
||
30 | ); |
||
31 | } |
||
33 |