Skip to content

Commit a27a736

Browse files
committed
fix constant
1 parent 52ae79a commit a27a736

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/identity-provider/src/test/java/org/elasticsearch/xpack/idp/action/SamlInitiateSingleSignOnRequestTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
public class SamlInitiateSingleSignOnRequestTests extends ESTestCase {
2828

2929
private static final TransportVersion IDP_CUSTOM_SAML_ATTRIBUTES = TransportVersion.fromName("idp_custom_saml_attributes");
30-
private static final TransportVersion IDP_CUSTOM_SAML_ATTRIBUTES_PATCH = TransportVersion.fromName("idp_custom_saml_attributes")
31-
.nextPatchVersion();
30+
private static final TransportVersion IDP_CUSTOM_SAML_ATTRIBUTES_PATCH = IDP_CUSTOM_SAML_ATTRIBUTES.nextPatchVersion();
3231

3332
public void testSerializationCurrentVersion() throws Exception {
3433
final SamlInitiateSingleSignOnRequest request = new SamlInitiateSingleSignOnRequest();

0 commit comments

Comments
 (0)