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.
Completed
Push — master ( 0dcb27...fb7903 )
by Mewes
11:26
created

ConfigFunctionalTest::testPreCalculateFormulas()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace MewesK\TwigSpreadsheetBundle\Tests\Functional;
4
5
/**
6
 * Class ConfigFunctionalTest.
7
 */
8
class ConfigFunctionalTest extends BasicFunctionalTest
9
{
10
    protected static $ENVIRONMENT = 'config';
11
    protected static $TEMP_PATH = __DIR__.'/../../var/cache/functional/config';
12
13
    //
14
    // Tests
15
    //
16
17
    /**
18
     * @throws \Exception
19
     */
20
    public function testPreCalculateFormulas()
21
    {
22
        static::assertFalse(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.pre_calculate_formulas'), 'Unexpected parameter');
23
24
    }
25
26
    /**
27
     * @throws \Exception
28
     */
29
    public function testDiskCachingDirectory()
30
    {
31
        $document = $this->getDocument(static::$router->generate('test_default', ['templateName' => 'simple']));
32
        static::assertNotNull($document, 'Document does not exist');
33
34
        static::assertNotEmpty(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.disk_caching_directory'), 'Unexpected parameter');
35
        static::assertDirectoryExists(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.disk_caching_directory'), 'Cache directory does not exist');
36
    }
37
}
38