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

Issues (990)

Branch: next

tests/Unit/CrudPanel/CrudPanelObjectGroupTest.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Backpack\CRUD\Tests\Unit\CrudPanel;
4
5
/**
6
 * @covers Backpack\CRUD\app\Library\CrudPanel\CrudObjectGroup
7
 */
8
class CrudPanelObjectGroupTest extends \Backpack\CRUD\Tests\config\CrudPanel\BaseCrudPanel
9
{
10
    public function testItCanCreateAGroupOfCrudObjects()
11
    {
12
        $this->crudPanel->group(
13
            $this->crudPanel->field('test'),
14
            $this->crudPanel->field('test2')
15
        )->label('testing');
0 ignored issues
show
The method label() does not exist on Backpack\CRUD\app\Librar...udPanel\CrudObjectGroup. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

15
        )->/** @scrutinizer ignore-call */ label('testing');
Loading history...
16
17
        $this->assertEquals('testing', $this->crudPanel->fields()['test']['label']);
18
        $this->assertEquals('testing', $this->crudPanel->fields()['test2']['label']);
19
    }
20
21
    public function testItCanCreateAGroupOfCrudObjectsFromArrayInput()
22
    {
23
        $this->crudPanel->group([
24
            $this->crudPanel->field('test'),
25
            $this->crudPanel->field('test2'),
26
        ])->label('testing');
27
28
        $this->assertEquals('testing', $this->crudPanel->fields()['test']['label']);
29
        $this->assertEquals('testing', $this->crudPanel->fields()['test2']['label']);
30
    }
31
}
32