Skip to content

Commit

Permalink
Minor test adjustments (#81)
Browse files Browse the repository at this point in the history
* Minor test adjustments

* Updated GraphApi tests
  • Loading branch information
hkarthik7 authored Jan 2, 2025
1 parent f5c3224 commit cc3609d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azd/src/test/java/org/azd/legacy/GraphApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.azd.interfaces.GraphDetails;
import org.azd.utils.AzDClientApi;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

import java.io.File;
Expand Down Expand Up @@ -107,6 +108,7 @@ public void shouldGetBiDirectionalMemberRelationship() throws AzDException {
}

@Test
@Ignore
public void shouldAddSubjectToGroup() throws AzDException {
try {
var group = g.getGroups().getGraphGroups().stream().filter(x -> x.getDisplayName().equals("Contributors")).findFirst().get();
Expand Down
2 changes: 2 additions & 0 deletions azd/src/test/java/org/azd/legacy/GraphCoreResolutionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.azd.interfaces.GraphDetails;
import org.azd.utils.AzDClientApi;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

import java.io.File;
Expand All @@ -22,6 +23,7 @@
* additional tests for graph api which require other (Core) API components
* to perform object lookups
*/
@Ignore
public class GraphCoreResolutionTest {
private static final JsonMapper MAPPER = new JsonMapper();
private static AzDClient webApi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.azd.serviceclient.AzDService;
import org.azd.serviceclient.AzDServiceClient;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

import java.io.File;
Expand Down Expand Up @@ -123,6 +124,7 @@ public void shouldGetBiDirectionalMemberRelationship() throws AzDException {
}

@Test
@Ignore
public void shouldAddSubjectToGroup() throws AzDException {
try {
var group = g.groups().list().getGraphGroups().stream().filter(x -> x.getDisplayName().equals("Contributors")).findFirst().get();
Expand Down Expand Up @@ -196,6 +198,7 @@ public void shouldResolveDescriptorForProject() throws AzDException {
}

@Test
@Ignore
public void shouldLookupMultipleSubjects() throws AzDException {
var group = g.groups().list().getGraphGroups().stream().filter(x -> x.getDisplayName().equals("Contributors")).findAny().get();
var members = g.memberships().list(group.getDescriptor(),
Expand Down

0 comments on commit cc3609d

Please sign in to comment.