GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 06bc6c...e92c95 )
by Mewes
03:57
created

CustomConfigTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 4
dl 0
loc 37
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace MewesK\TwigSpreadsheetBundle\Tests\Functional;
4
5
/**
6
 * Class CustomConfigTest.
7
 *
8
 * @coversNothing
9
 */
10
class CustomConfigTest extends AbstractControllerTest
11
{
12
    protected static $ENVIRONMENT = 'custom';
13
    protected static $TEMP_PATH = '/../../tmp/functional/config/';
14
15
    //
16
    // PhpUnit
17
    //
18
19
    /**
20
     * @return array
21
     */
22
    public function formatProvider()
23
    {
24
        return [['xlsx']];
25
    }
26
27
    //
28
    // Tests
29
    //
30
31
    /**
32
     * @param string $format
33
     *
34
     * @throws \Exception
35
     *
36
     * @dataProvider formatProvider
37
     */
38
    public function testCustomConfig($format)
39
    {
40
        $document = $this->getDocument(static::$router->generate('test_default', ['templateName' => 'simple', '_format' => $format]), $format);
41
        static::assertNotNull($document, 'Document does not exist');
42
43
        static::assertFalse(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.pre_calculate_formulas'), 'Unexpected parameter');
44
        static::assertStringEndsWith('tmp/phpSpreadsheet', static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.disk_caching_directory'), 'Unexpected parameter');
45
    }
46
}
47