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

Completed
Pull Request — master (#81)
by Jérémiah
42:26
created

CustomScalarTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\Tests\Functional\Security;
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::createAndBootKernel(['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