diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b34729d..668e3b6 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -9,7 +9,6 @@ - ./test/Auth ./test/Integration diff --git a/test/Auth/OAuthHelperTest.php b/test/Auth/OAuthHelperTest.php deleted file mode 100644 index fb6524c..0000000 --- a/test/Auth/OAuthHelperTest.php +++ /dev/null @@ -1,43 +0,0 @@ -load(); - $config = new \Avalara\SDK\Configuration(); - $config->setClientId(getenv('CLIENT_ID')); - $config->setClientSecret(getenv('CLIENT_SECRET')); - $config->appName='testApplication'; - $config->appVersion='2.1.2'; - $config->machineName='localhost'; - $config->environment='sandbox'; - - self::$config = $config; - } - - // public function testDeviceCodeFlow() - // { - // $result = \Avalara\SDK\Auth\OAuthHelper::initiateDeviceAuthorizationFlow('avatax_api', self::$config); - // $this->assertEquals($result->verificationUrl, 'https://ai-sbx.avlr.sh/device'); - // $tokenResult = \Avalara\SDK\Auth\OAuthHelper::getAccessTokenForDeviceFlow($result->deviceCode, self::$config); - // $this->assertEquals($tokenResult->errorMessage, 'authorization_pending'); - // $this->assertEquals($tokenResult->httpStatusCode, 400); - // } -} \ No newline at end of file