Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Failed
Pull Request — main (#4778)
by Pedro
25:44 queued 10:58
created

testItCanEnableAndDisableGroupedErrors()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 5
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
namespace Backpack\CRUD\Tests\Unit\CrudPanel;
4
5
/**
6
 * @covers Backpack\CRUD\app\Library\CrudPanel\Traits\Errors
7
 */
8
class CrudPanelErrorsTest extends BaseCrudPanelTest
9
{
10
    public function testItCanEnableAndDisableInlineErrors()
11
    {
12
        $this->crudPanel->setOperation('create');
13
        $this->crudPanel->enableInlineErrors();
14
        $this->assertTrue($this->crudPanel->inlineErrorsEnabled());
15
        $this->crudPanel->disableInlineErrors();
16
        $this->assertFalse($this->crudPanel->inlineErrorsEnabled());
17
    }
18
19
    public function testItCanEnableAndDisableGroupedErrors()
20
    {
21
        $this->crudPanel->setOperation('create');
22
        $this->crudPanel->enableGroupedErrors();
23
        $this->assertTrue($this->crudPanel->groupedErrorsEnabled());
24
        $this->crudPanel->disableGroupedErrors();
25
        $this->assertFalse($this->crudPanel->groupedErrorsEnabled());
26
    }
27
}
28