Skip to content
Snippets Groups Projects
Commit 7cc281e1 authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

osdu-delfi updates

parent 6a37c366
No related branches found
No related tags found
1 merge request!2osdu-delfi updates
Pipeline #7555 failed
......@@ -107,12 +107,14 @@ public class PartitionServiceImplTest {
when(KeyVaultFacade.getKeyVaultSecret(this.keyVaultClient, "my-tenant-id")).thenReturn("my-tenant");
when(KeyVaultFacade.getKeyVaultSecret(this.keyVaultClient, "my-tenant-groups")).thenReturn("[\"service.storage.admin\"]");
when(KeyVaultFacade.getKeyVaultSecret(this.keyVaultClient, "my-tenant-complianceRuleSet")).thenReturn("shared");
when(KeyVaultFacade.getKeyVaultSecret(this.keyVaultClient, "sp-appid")).thenReturn("servicePrincipal");
PartitionInfo partitionInfo = this.sut.getPartition(this.partitionInfo.getProperties().get("id").toString());
assertTrue(partitionInfo.getProperties().containsValue("my-tenant"));
assertTrue(partitionInfo.getProperties().containsKey("groups"));
assertTrue(partitionInfo.getProperties().containsKey("complianceRuleSet"));
assertTrue(partitionInfo.getProperties().containsKey("id"));
assertTrue(partitionInfo.getProperties().containsKey("sp-appid"));
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment