CFINSPEC-94: Remove deprecation of minimum_days_between_password_change and maximum_days_between_password_change

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
Sonu Saha 2022-03-23 15:30:27 +05:30
parent a0d40a5d9c
commit 978e6ea798

View file

@ -258,13 +258,11 @@ module Inspec::Resources
# implement 'mindays' method to be compatible with serverspec
def minimum_days_between_password_change
Inspec.deprecate(:resource_user_serverspec_compat, "The user resource `minimum_days_between_password_change` property is deprecated. Please use `mindays`.")
mindays
end
# implement 'maxdays' method to be compatible with serverspec
def maximum_days_between_password_change
Inspec.deprecate(:resource_user_serverspec_compat, "The user resource `maximum_days_between_password_change` property is deprecated. Please use `maxdays`.")
maxdays
end