Skip to content

Commit 5cf8cb9

Browse files
Merge pull request #10522 from srnagar/fix-redis-mock
Fix RedisCacheMock implementation
2 parents bc3f95d + a7e05a4 commit 5cf8cb9

File tree

1 file changed

+6
-1
lines changed
  • Utils/azure-toolkit-ide-hdinsight-libs/azuretools-core/test/com/microsoft/azuretools/core/mvp/model/rediscache

1 file changed

+6
-1
lines changed

Utils/azure-toolkit-ide-hdinsight-libs/azuretools-core/test/com/microsoft/azuretools/core/mvp/model/rediscache/RedisCacheMock.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import com.azure.resourcemanager.resources.fluentcore.arm.models.PrivateLinkResource;
2020
import reactor.core.publisher.Mono;
2121

22-
public class RedisCacheMock implements RedisCache{
22+
public class RedisCacheMock implements RedisCache {
2323

2424
private static final String MOCK_STRING = "test";
2525

@@ -165,6 +165,11 @@ public RedisAccessKeys regenerateKey(RedisKeyType keyType) {
165165
return new RedisAccessKeysMock();
166166
}
167167

168+
@Override
169+
public PublicNetworkAccess publicNetworkAccess() {
170+
return null;
171+
}
172+
168173
@Override
169174
public TlsVersion minimumTlsVersion() {
170175
return null;

0 commit comments

Comments
 (0)