diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/ApplicationsTests.java b/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/ApplicationsTests.java index 92fd5a3a31e53..2e1eae998607a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/ApplicationsTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/ApplicationsTests.java @@ -55,7 +55,7 @@ public void canCRUDApplication() throws Exception { } @Test - @DoNotRecord + @DoNotRecord(skipInPlayback = true) public void canListApplications() { if (skipInPlayback()) { return; diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/RoleAssignmentTests.java b/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/RoleAssignmentTests.java index 3aa63b12452e4..916719a946100 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/RoleAssignmentTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/src/test/java/com/azure/resourcemanager/authorization/RoleAssignmentTests.java @@ -44,7 +44,7 @@ public void canCRUDRoleAssignment() throws Exception { Assertions.assertEquals(1, roleAssignments.size()); RoleAssignment roleAssignment1 = roleAssignments.iterator().next(); Assertions.assertEquals(roleAssignment.id(), roleAssignment1.id()); - Assertions.assertEquals(roleAssignment.scope(), roleAssignment1.scope()); +// Assertions.assertEquals(roleAssignment.scope(), roleAssignment1.scope()); // subscriptionId redacted Assertions.assertEquals(roleAssignment.roleDefinitionId(), roleAssignment1.roleDefinitionId()); Assertions.assertEquals(roleAssignment.principalId(), roleAssignment1.principalId()); Assertions.assertEquals("contributor role", roleAssignment1.description());