()
| 46 | const EICAR_IN_ENCRYPTED_URL = "https://samples.develop.vaas.gdatasecurity.de/with-and-without-password.zip"; |
| 47 | |
| 48 | public function setUp(): void |
| 49 | { |
| 50 | $dotenv = Dotenv::createImmutable(__DIR__); |
| 51 | $dotenv->safeLoad(); |
| 52 | if (getenv("CLIENT_ID") !== false) { |
| 53 | $_ENV["CLIENT_ID"] = getenv("CLIENT_ID"); |
| 54 | } |
| 55 | if (getenv("CLIENT_SECRET") !== false) { |
| 56 | $_ENV["CLIENT_SECRET"] = getenv("CLIENT_SECRET"); |
| 57 | } |
| 58 | if (getenv("VAAS_URL") !== false) { |
| 59 | $_ENV["VAAS_URL"] = getenv("VAAS_URL"); |
| 60 | } |
| 61 | if (getenv("TOKEN_URL") !== false) { |
| 62 | $_ENV["TOKEN_URL"] = getenv("TOKEN_URL"); |
| 63 | } |
| 64 | |
| 65 | $this->assertNotNull($_ENV["CLIENT_ID"]); |
| 66 | $this->assertNotNull($_ENV["CLIENT_SECRET"]); |
| 67 | $this->assertNotNull($_ENV["VAAS_URL"]); |
| 68 | $this->assertNotNull($_ENV["TOKEN_URL"]); |
| 69 | |
| 70 | $this->logger = $this->_getDebugLogger(); |
| 71 | $this->vaas = $this->getVaas(); |
| 72 | } |
| 73 | |
| 74 | private function getVaas(bool $useCache = false, bool $useHashLookup = true): Vaas |
| 75 | { |
nothing calls this directly
no test coverage detected