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 ( 5fbcdf...23634c )
by Christian
01:36
created

FacebookConnectionTest::testGetSharedSecre()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\FacebookBundle\Tests\Connection;
11
12
use Core23\FacebookBundle\Connection\FacebookConnection;
13
use Facebook\Facebook;
14
use PHPUnit\Framework\TestCase;
15
16
class FacebookConnectionTest extends TestCase
17
{
18
    public function testItIsInstantiable(): void
19
    {
20
        $connection = new FacebookConnection('key', 'secret');
21
22
        $this->assertInstanceOf(Facebook::class, $connection);
23
    }
24
25
    public function testGetApiId(): void
26
    {
27
        $connection = new FacebookConnection('key', 'secret');
28
29
        $this->assertSame('key', $connection->getApiId());
30
    }
31
32
    public function testGetSharedSecre(): void
33
    {
34
        $connection = new FacebookConnection('key', 'secret');
35
36
        $this->assertSame('secret', $connection->getSharedSecret());
37
    }
38
}
39