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

Code Duplication    Length = 23-27 lines in 2 locations

Tests/Functional/AutoMapping/HelloWordTest.php 1 location

@@ 16-38 (lines=23) @@
13
14
use Overblog\GraphQLBundle\Tests\Functional\TestCase;
15
16
class HelloWordTest extends TestCase
17
{
18
    protected function setUp()
19
    {
20
        static::bootKernel(['test_case' => 'autoMapping']);
21
    }
22
23
    public function testQuery()
24
    {
25
        $query = 'query { echo(message: "This is my message!") }';
26
        $expectedData = ['echo' => 'You said: This is my message!'];
27
28
        $this->assertGraphQL($query, $expectedData);
29
    }
30
31
    public function testMutation()
32
    {
33
        $query = 'mutation { sum(x: 5, y: 15) }';
34
        $expectedData = ['sum' => '20'];
35
36
        $this->assertGraphQL($query, $expectedData);
37
    }
38
}
39

Tests/Functional/Type/CustomScalarTest.php 1 location

@@ 16-42 (lines=27) @@
13
14
use Overblog\GraphQLBundle\Tests\Functional\TestCase;
15
16
class CustomScalarTest extends TestCase
17
{
18
    protected function setUp()
19
    {
20
        parent::setUp();
21
22
        static::bootKernel(['test_case' => 'customScalar']);
23
    }
24
25
    public function testDateTimeTypeSerialize()
26
    {
27
        $query = '{ dateTime }';
28
        $expected = [
29
            'dateTime' => '2016-11-28 12:00:00',
30
        ];
31
        $this->assertGraphQL($query, $expected);
32
    }
33
34
    public function testDateTimeTypeParseValue()
35
    {
36
        $query = '{ dateTime(dateTime: "2016-01-18 23:00:00") }';
37
        $expected = [
38
            'dateTime' => '2016-01-18 23:00:00',
39
        ];
40
        $this->assertGraphQL($query, $expected);
41
    }
42
}
43