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:24
created

ConfigResolverTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A testConfigNotArrayOrImplementArrayAccess() 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;
13
14
use Overblog\GraphQLBundle\Resolver\ConfigResolver;
15
16
class ConfigResolverTest extends \PHPUnit_Framework_TestCase
17
{
18
    /** @var  ConfigResolver */
19
    private $configResolver;
20
21
    public function setUp()
22
    {
23
        $this->configResolver = new ConfigResolver();
24
    }
25
26
    /**
27
     * @expectedException \RuntimeException
28
     * @expectedExceptionMessage Config must be an array or implement \ArrayAccess interface
29
     */
30
    public function testConfigNotArrayOrImplementArrayAccess()
31
    {
32
        $this->configResolver->resolve('Not Array');
33
    }
34
}
35