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 (#7)
by Jérémiah
09:02
created

TypeConfigSolutionTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createConfigSolution() 0 4 1
A testSolveType() 0 4 1
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\Resolver\Config;
13
14
use Overblog\GraphQLBundle\Resolver\Config\TypeConfigSolution;
15
16
/**
17
 * @property TypeConfigSolution $configSolution
18
 */
19
class TypeConfigSolutionTest extends AbstractConfigSolutionTest
20
{
21
    protected function createConfigSolution()
22
    {
23
        return new TypeConfigSolution();
24
    }
25
26
    /**
27
     * @expectedException \InvalidArgumentException
28
     * @expectedExceptionMessage Invalid type! Must be instance of "GraphQL\Type\Definition\Type"
29
     */
30
    public function testSolveType()
31
    {
32
        $this->configSolution->solveType('toto');
33
    }
34
}
35