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 ( 2c1dbb...6a0f46 )
by Matthias
03:18
created

ShortcodeGuideTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
dl 0
loc 15
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A shortcode_guide_contains_test_entry() 0 10 1
1
<?php
2
3
namespace Webfactory\ShortcodeBundle\Tests\Functional;
4
5
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6
7
class ShortcodeGuideTest extends WebTestCase
8
{
9
    /**
10
     * @test
11
     */
12
    public function shortcode_guide_contains_test_entry(): void
13
    {
14
        $client = static::createClient();
15
        $crawler = $client->request('GET', '/');
16
17
        self::assertResponseIsSuccessful();
18
        $text = $crawler->text();
19
        self::assertStringContainsString('test-shortcode-guide', $text);
20
        self::assertStringContainsString('Description for the \'test-shortcode-guide\' shortcode', $text);
21
        self::assertStringContainsString('test-shortcode-guide test=true', $text);
22
    }
23
}
24