You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/support/SecurityStatusChangeListenerTests.java
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,8 @@ public void testSecurityEnabledToDisabled() {
84
84
assertWarnings("The default behavior of disabling security on basic"
85
85
+ " licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will "
86
86
+ "default to \"true\" , regardless of the license level. "
87
-
+ "See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security, "
87
+
+ "See https://www.elastic.co/guide/en/elasticsearch/reference/" + Version.CURRENT.major + "." +
88
+
Version.CURRENT.minor + "/security-minimal-setup.html to enable security, "
88
89
+ "or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml");
89
90
90
91
logAppender.assertAllExpectationsMatched();
@@ -112,7 +113,8 @@ public void testSecurityDisabledToEnabled() {
112
113
assertWarnings("The default behavior of disabling security on trial"
113
114
+ " licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will "
114
115
+ "default to \"true\" , regardless of the license level. "
115
-
+ "See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security, "
116
+
+ "See https://www.elastic.co/guide/en/elasticsearch/reference/" + Version.CURRENT.major + "." +
117
+
Version.CURRENT.minor +"/security-minimal-setup.html to enable security, "
116
118
+ "or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml");
0 commit comments