Skip to content

Commit

Permalink
mgmt, use test proxy for confidential ledger (#34585)
Browse files Browse the repository at this point in the history
* code change to support test proxy

* update session records

* remove unused imports
  • Loading branch information
haolingdong-msft authored Apr 26, 2023
1 parent 3a1a3c8 commit 8149a46
Show file tree
Hide file tree
Showing 4 changed files with 1,082 additions and 658 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<javaModulesSurefireArgLine>
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.management.AzureEnvironment;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.test.TestBase;
import com.azure.core.test.TestMode;
import com.azure.core.test.TestProxyTestBase;
import com.azure.identity.DefaultAzureCredentialBuilder;

import com.azure.resourcemanager.resources.ResourceManager;
Expand All @@ -28,7 +28,7 @@
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

public class ConfidentialLedgerManagementTestBase extends TestBase {
public class ConfidentialLedgerManagementTestBase extends TestProxyTestBase {
private static AzureProfile azureProfile;
private static TokenCredential credential;
private static ResourceGroup testResourceGroup;
Expand Down
Loading

0 comments on commit 8149a46

Please sign in to comment.