Completed
Push — master ( 82a3a6...721814 )
by Дмитрий
05:02 queued 02:25
created

TestCase::getService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 9.4285
c 0
b 0
f 0
nc 1
cc 1
eloc 8
nop 0
1
<?php
2
/**
3
 * SocialConnect project
4
 * @author: Patsura Dmitry https://github.com/ovr <[email protected]>
5
 */
6
7
namespace Test;
8
9
use PHPUnit_Framework_TestCase;
10
use SocialConnect\Auth\Service;
11
12
class TestCase extends PHPUnit_Framework_TestCase
13
{
14
    protected function getService()
15
    {
16
        return new Service(
17
            array(
18
                'provider' => array(
19
                    'Vk' => array(
20
                        'applicationId' => 123456,
21
                        'applicationSecret' => 'Secret'
22
                    )
23
                )
24
            ),
25
            null
26
        );
27
    }
28
}
29