Skip to content

Commit ac9f21c

Browse files
committed
Enable Encryption Keys test
1 parent 06e9a66 commit ac9f21c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
package com.databricks.sdk.integration;
22

3+
import com.databricks.sdk.AccountClient;
4+
import com.databricks.sdk.integration.framework.CollectionUtils;
35
import com.databricks.sdk.integration.framework.EnvContext;
46
import com.databricks.sdk.integration.framework.EnvTest;
5-
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
7+
import com.databricks.sdk.service.provisioning.CustomerManagedKey;
8+
import org.junit.jupiter.api.Test;import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
69
import org.junit.jupiter.api.extension.ExtendWith;
710

811
@EnvContext("account")
912
@DisabledIfEnvironmentVariable(named = "ARM_CLIENT_ID", matches = ".*")
1013
@ExtendWith(EnvTest.class)
1114
public class EncryptionKeysIT {
12-
// TODO: Enable this test when the test account is updated to support this.
13-
// Either by upgrading the test account tier to Enterprise or by adding this
14-
// feature to the test account.
15-
// @Test
16-
// void lists(AccountClient a) {
17-
// Iterable<CustomerManagedKey> list = a.encryptionKeys().list();
15+
@Test
16+
void lists(AccountClient a) {
17+
Iterable<CustomerManagedKey> list = a.encryptionKeys().list();
1818

19-
// java.util.List<CustomerManagedKey> all = CollectionUtils.asList(list);
19+
java.util.List<CustomerManagedKey> all = CollectionUtils.asList(list);
2020

21-
// CollectionUtils.assertUnique(all);
22-
// }
21+
CollectionUtils.assertUnique(all);
22+
}
2323
}

0 commit comments

Comments
 (0)