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 | 0 |
1 | <?php |
||
10 | class CrudPanelMacroTest extends BaseCrudPanel |
||
11 | { |
||
12 | public function testItCanRegisterMacro() |
||
13 | { |
||
14 | $this->crudPanel::macro('validMacro', function () { |
||
15 | return true; |
||
16 | }); |
||
17 | |||
18 | $this->assertTrue($this->crudPanel->validMacro()); |
||
19 | } |
||
20 | |||
21 | public function testThrowsErrorIfMacroExists() |
||
32 | ); |
||
33 | } |
||
35 |