mirror of https://github.com/apache/jclouds.git
Rename GraphRBAC live test class
This commit is contained in:
parent
3efce9a3a5
commit
ac5f3a1452
|
@ -22,13 +22,18 @@ import org.jclouds.azurecompute.arm.domain.ServicePrincipal;
|
||||||
import org.jclouds.azurecompute.arm.internal.BaseAzureComputeApiLiveTest;
|
import org.jclouds.azurecompute.arm.internal.BaseAzureComputeApiLiveTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
@Test(groups = "live", testName = "CurrentServicePrincipalApiLiveTest", singleThreaded = true)
|
@Test(groups = "live", testName = "GraphRBACApiLiveTest", singleThreaded = true)
|
||||||
public class CurrentServicePrincipalApiLiveTest extends BaseAzureComputeApiLiveTest {
|
public class GraphRBACApiLiveTest extends BaseAzureComputeApiLiveTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGetCurrentServicePrincipal() {
|
public void testGetCurrentServicePrincipalSupplier() {
|
||||||
ServicePrincipal currentUser = api.getServicePrincipal().get();
|
ServicePrincipal currentUser = api.getServicePrincipal().get();
|
||||||
assertEquals(currentUser.appId(), identity);
|
assertEquals(currentUser.appId(), identity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testGetCurrentServicePrincipal() {
|
||||||
|
ServicePrincipal currentUser = api.getGraphRBACApi().getCurrentServicePrincipal();
|
||||||
|
assertEquals(currentUser.appId(), identity);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue