Skip to content

Commit 0dbe197

Browse files
ZetaoZhuangpaulyufan2
authored andcommitted
use valid TLS version in config test
1 parent b24896c commit 0dbe197

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cns/configuration/configuration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func TestReadConfigFromFile(t *testing.T) {
8989
UseHTTPS: true,
9090
UseMTLS: true,
9191
WireserverIP: "168.63.129.16",
92-
MinTLSVersion: "TLS 1.1",
92+
MinTLSVersion: "TLS 1.3",
9393
},
9494
wantErr: false,
9595
},

cns/configuration/testdata/good.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
"AZRSettings": {
3636
"PopulateHomeAzCacheRetryIntervalSecs": 60
3737
},
38-
"MinTLSVersion": "TLS 1.1"
38+
"MinTLSVersion": "TLS 1.3"
3939
}

0 commit comments

Comments
 (0)