Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 4fe6b1c

Browse files
committed
🚿
1 parent b0623c0 commit 4fe6b1c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/API/OAuthAPITestAbstract.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
namespace chillerlan\OAuthTest\API;
1212

13-
use chillerlan\OAuth\OAuthOptions;
1413
use chillerlan\OAuth\Storage\OAuthStorageInterface;
1514
use chillerlan\OAuthTest\{OAuthTestHttpClient, OAuthTestMemoryStorage};
1615
use chillerlan\OAuthTest\Providers\ProviderTestAbstract;
@@ -20,7 +19,7 @@
2019

2120
abstract class OAuthAPITestAbstract extends ProviderTestAbstract{
2221

23-
protected string $CFG;
22+
protected string $CFG = '';
2423

2524
/** a test username for live API tests, defined in .env as {ENV-PREFIX}_TESTUSER*/
2625
protected string $testuser;

tests/Providers/ProviderTestAbstract.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
namespace chillerlan\OAuthTest\Providers;
1212

13-
use chillerlan\DotEnv\DotEnv;
1413
use Psr\Http\Message\{RequestFactoryInterface, ResponseFactoryInterface, StreamFactoryInterface, UriFactoryInterface};
1514
use chillerlan\OAuth\Core\OAuthInterface;
1615
use chillerlan\OAuth\OAuthOptions;
@@ -24,9 +23,7 @@
2423
use Exception, ReflectionClass, ReflectionMethod, ReflectionProperty;
2524

2625
use function chillerlan\HTTP\Utils\{get_json, get_xml};
27-
use function constant, defined, file_exists, ini_set, realpath;
28-
29-
use const DIRECTORY_SEPARATOR;
26+
use function constant, defined, ini_set;
3027

3128
abstract class ProviderTestAbstract extends TestCase{
3229

0 commit comments

Comments
 (0)