diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5095a04..3703fa7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -26,7 +26,7 @@ - + diff --git a/src/Connectors/DocuWareConnector.php b/src/Connectors/DocuWareConnector.php index ffccded..faac795 100644 --- a/src/Connectors/DocuWareConnector.php +++ b/src/Connectors/DocuWareConnector.php @@ -57,14 +57,10 @@ protected function defaultAuth(): TokenAuthenticator */ protected function getOrCreateNewOAuthToken(): string { - //ray($this->configuration->identifier); - $cache = Cache::store($this->configuration->cacheDriver); $cacheKey = 'docuware.oauth.'.$this->configuration->identifier; - //ray($cache->has($cacheKey),'hasCachkey?'); - // Check if the token exists in cache and return it if found if ($cache->has($cacheKey)) { $token = Crypt::decrypt($cache->get($cacheKey));