IntegrationTest::getApiKey()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Geocoder package.
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @license    MIT License
9
 */
10
11
namespace Geocoder\Provider\Geopunt\Tests;
12
13
use Geocoder\IntegrationTest\ProviderIntegrationTest;
14
use Geocoder\Provider\Geopunt\Geopunt;
15
use Http\Client\HttpClient;
16
17
class IntegrationTest extends ProviderIntegrationTest
18
{
19
    protected $testAddress = true;
20
21
    protected $testReverse = true;
22
23
    protected $testIpv4 = false;
24
25
    protected $testIpv6 = false;
26
27
    protected $skippedTests = [
28
        'testGeocodeQuery'              => 'Geopunt provider supports Brussels and Flanders (Belgium) only.',
29
        'testReverseQuery'              => 'Geopunt provider supports Brussels and Flanders (Belgium) only.',
30
        'testReverseQueryWithNoResults' => 'Geopunt provider supports Brussels and Flanders (Belgium) only.',
31
    ];
32
33
    protected function createProvider(HttpClient $httpClient)
34
    {
35
        return new Geopunt($httpClient);
36
    }
37
38
    protected function getCacheDir()
39
    {
40
        return __DIR__.'/.cached_responses';
41
    }
42
43
    protected function getApiKey()
44
    {
45
    }
46
}
47