Completed
Push — master ( e8ac6b...f17c86 )
by Tobias
04:02
created

IntegrationTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 2
dl 0
loc 20
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Geocoder package.
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @license    MIT License
11
 */
12
13
namespace Geocoder\Provider\ArcGISOnlineTest\Tests;
14
15
use Geocoder\IntegrationTest\ProviderIntegrationTest;
16
use Geocoder\Provider\ArcGISOnline\ArcGISOnline;
17
use Http\Client\HttpClient;
18
19
/**
20
 * @author Tobias Nyholm <[email protected]>
21
 */
22
class IntegrationTest extends ProviderIntegrationTest
23
{
24
    protected $testIpv4 = false;
25
    protected $testIpv6 = false;
26
27
    protected function createProvider(HttpClient $httpClient)
28
    {
29
        return new ArcGISOnline($httpClient);
30
    }
31
32
    protected function getCacheDir()
33
    {
34
        return __DIR__.'/.cached_responses';
35
    }
36
37
    protected function getApiKey()
38
    {
39
        return null;
40
    }
41
}
42