StackFormation\Tests\ProfileManagerTest::testEncryptedFile PHP Method

testEncryptedFile() public method

public testEncryptedFile ( )
    public function testEncryptedFile()
    {
        if (!class_exists('\\Vault\\Vault')) {
            $this->markTestSkipped('aoepeople/vault must be installed to run this test');
        }
        putenv("VAULT_MAC_KEY=" . self::VAULT_MAC_KEY);
        putenv("VAULT_ENCRYPTION_KEY=" . self::VAULT_ENCRYPTION_KEY);
        chdir(FIXTURE_ROOT . 'ProfileManager/fixture_encrpyted');
        $this->assertEquals(['test1', 'test2', 'test3'], $this->profileManager->listAllProfiles());
    }