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 (#5)
by Jérémiah
07:11
created

testResolveUnknownMutation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
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\Resolver;
13
14
abstract class AbstractProxyResolverTest extends AbstractResolverTest
15
{
16
    protected function getResolverSolutionsMapping()
17
    {
18
        $solutionClass = sprintf('%s\\Toto', __NAMESPACE__);
19
20
        return [
21
            'Toto' => ['solution' => new $solutionClass(),  'method' => 'resolve'],
22
        ];
23
    }
24
25
    public function testResolveKnownMutation()
26
    {
27
        $result = $this->resolver->resolve(['Toto', ['my', 'resolve', 'test']]);
28
29
        $this->assertEquals(['my', 'resolve', 'test'], $result);
30
    }
31
32
    /**
33
     * @expectedException \Overblog\GraphQLBundle\Resolver\UnresolvableException
34
     */
35
    public function testResolveUnknownMutation()
36
    {
37
        $this->resolver->resolve('Fake');
38
    }
39
}
40