From be57a774b96671f5dc24db2ee813f45a6cc1f503 Mon Sep 17 00:00:00 2001 From: Kay Craig Date: Tue, 24 Oct 2023 13:52:40 -0400 Subject: [PATCH] add config test case for new param --- path_config_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/path_config_test.go b/path_config_test.go index bb7f41b..f1ace4b 100644 --- a/path_config_test.go +++ b/path_config_test.go @@ -182,6 +182,23 @@ func TestConfig_Create(t *testing.T) { ), }, }, + "skip initial static rotation set": { + createData: fieldData(map[string]interface{}{ + "binddn": "tester", + "bindpass": "pa$$w0rd", + "url": "ldap://138.91.247.105", + "skip_static_role_import_rotation": true, + }), + createExpectErr: false, + expectedReadResp: &logical.Response{ + Data: ldapResponseData( + "binddn", "tester", + "url", "ldap://138.91.247.105", + "skip_static_role_import_rotation", true, + "request_timeout", 90, + ), + }, + }, "both password policy and password length": { createData: fieldData(map[string]interface{}{ "binddn": "tester",