From d3f6bec1be9121fba7e82a66f180da7645cdd0da Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Sat, 9 Nov 2019 21:41:00 +0100 Subject: [PATCH] Adapt rest of model-intest to schema changes --- .../objects/c0c010c0-d34d-b33f-f00d-999888111111.xml | 7 ------- .../objects/c0c010c0-d34d-b33f-f00d-999888111113.xml | 7 ------- .../test/resources/password/password-policy-deprecated.xml | 7 ------- .../src/test/resources/password/password-policy-ugly.xml | 1 - .../src/test/resources/sync/password-policy-azure.xml | 7 ------- .../src/test/resources/sync/role-red-judge.xml | 5 ----- .../rest/src/test/resources/repo/value-policy-general.xml | 6 ------ .../rest/src/test/resources/repo/value-policy-numeric.xml | 7 ------- .../test/resources/repo/value-policy-security-answer.xml | 6 ------ .../rest/src/test/resources/repo/value-policy-simple.xml | 7 ------- .../src/test/resources/village/global-password-policy.xml | 7 ------- .../src/test/resources/village/org-password-policy.xml | 7 ------- 12 files changed, 74 deletions(-) diff --git a/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111111.xml b/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111111.xml index 0bdd74acfc9..a7672c218b9 100644 --- a/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111111.xml +++ b/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111111.xml @@ -12,13 +12,6 @@ Testing Complex Password Policy Testing complex password policy - - 999 - 9 - 0 - 0 - 0 - Testing string policy diff --git a/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111113.xml b/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111113.xml index 17bf78e3de3..2108c46d7d5 100644 --- a/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111113.xml +++ b/infra/common/src/test/resources/objects/c0c010c0-d34d-b33f-f00d-999888111113.xml @@ -12,13 +12,6 @@ Testing Bad Password Policy This policy is intentionally insane. The limits conflict with overall length limits. This should fail. - - 999 - 9 - 0 - 0 - 0 - Testing string policy diff --git a/model/model-intest/src/test/resources/password/password-policy-deprecated.xml b/model/model-intest/src/test/resources/password/password-policy-deprecated.xml index f79d8473132..fa0af1b6a69 100644 --- a/model/model-intest/src/test/resources/password/password-policy-deprecated.xml +++ b/model/model-intest/src/test/resources/password/password-policy-deprecated.xml @@ -11,13 +11,6 @@ xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Deprecated Password Policy - - 999 - 9 - 0 - 0 - 3 - Testing string policy diff --git a/model/model-intest/src/test/resources/password/password-policy-ugly.xml b/model/model-intest/src/test/resources/password/password-policy-ugly.xml index efef931b751..731ca5e2839 100644 --- a/model/model-intest/src/test/resources/password/password-policy-ugly.xml +++ b/model/model-intest/src/test/resources/password/password-policy-ugly.xml @@ -34,5 +34,4 @@ - 0 diff --git a/model/model-intest/src/test/resources/sync/password-policy-azure.xml b/model/model-intest/src/test/resources/sync/password-policy-azure.xml index ddff442d5e2..a24401656b3 100644 --- a/model/model-intest/src/test/resources/sync/password-policy-azure.xml +++ b/model/model-intest/src/test/resources/sync/password-policy-azure.xml @@ -20,13 +20,6 @@ http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport - - 999 - 9 - 0 - 0 - 0 - String validation policy diff --git a/model/model-intest/src/test/resources/sync/role-red-judge.xml b/model/model-intest/src/test/resources/sync/role-red-judge.xml index 975e7444a9b..7f90363c548 100644 --- a/model/model-intest/src/test/resources/sync/role-red-judge.xml +++ b/model/model-intest/src/test/resources/sync/role-red-judge.xml @@ -35,9 +35,4 @@ http://midpoint.evolveum.com/xml/ns/test/authorization#punish - - A judge cannot be a pirate at the same time. At least not openly. - - enforce - diff --git a/testing/rest/src/test/resources/repo/value-policy-general.xml b/testing/rest/src/test/resources/repo/value-policy-general.xml index 94c2bc80643..69c35e0833e 100644 --- a/testing/rest/src/test/resources/repo/value-policy-general.xml +++ b/testing/rest/src/test/resources/repo/value-policy-general.xml @@ -11,12 +11,6 @@ Complex Password policy requires at least one lowercase letter, at least one uppercase letter, at least one digit and at least on special character in the password. The password must start with a lowercase letter and must be at least 6 characters long. - - 999 - 9 - 0 - 0 - String validation policy diff --git a/testing/rest/src/test/resources/repo/value-policy-numeric.xml b/testing/rest/src/test/resources/repo/value-policy-numeric.xml index 7208074399e..a4a41d4f44c 100644 --- a/testing/rest/src/test/resources/repo/value-policy-numeric.xml +++ b/testing/rest/src/test/resources/repo/value-policy-numeric.xml @@ -9,13 +9,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Numeric Policy A policy useful for generating PIN. - - 999 - 9 - 0 - 0 - 0 - String validation policy diff --git a/testing/rest/src/test/resources/repo/value-policy-security-answer.xml b/testing/rest/src/test/resources/repo/value-policy-security-answer.xml index e548d20b71b..4473aac94eb 100644 --- a/testing/rest/src/test/resources/repo/value-policy-security-answer.xml +++ b/testing/rest/src/test/resources/repo/value-policy-security-answer.xml @@ -11,12 +11,6 @@ Complex Password policy requires at least one lowercase letter, at least one uppercase letter, at least one digit and at least on special character in the password. The password must start with a lowercase letter and must be at least 6 characters long. - - 999 - 9 - 0 - 0 - String validation policy diff --git a/testing/rest/src/test/resources/repo/value-policy-simple.xml b/testing/rest/src/test/resources/repo/value-policy-simple.xml index bb09d74f2ec..32e51174f9f 100644 --- a/testing/rest/src/test/resources/repo/value-policy-simple.xml +++ b/testing/rest/src/test/resources/repo/value-policy-simple.xml @@ -11,13 +11,6 @@ Complex Password policy requires at least one lowercase letter, at least one uppercase letter, at least one digit and at least on special character in the password. The password must start with a lowercase letter and must be at least 6 characters long. - - 999 - 9 - 0 - 0 - 0 - String validation policy diff --git a/testing/story/src/test/resources/village/global-password-policy.xml b/testing/story/src/test/resources/village/global-password-policy.xml index 42300dd441f..22ef294a9df 100644 --- a/testing/story/src/test/resources/village/global-password-policy.xml +++ b/testing/story/src/test/resources/village/global-password-policy.xml @@ -20,13 +20,6 @@ This file is an example of Password Policy definition. Complex Password policy requires at least one lowercase letter, at least one uppercase letter, at least one digit and at least on special character in the password. The password must start with a lowercase letter and must be at least 6 characters long. - - 999 - 9 - 0 - 0 - 0 - String validation policy diff --git a/testing/story/src/test/resources/village/org-password-policy.xml b/testing/story/src/test/resources/village/org-password-policy.xml index 6b780150b31..1956f31c71d 100644 --- a/testing/story/src/test/resources/village/org-password-policy.xml +++ b/testing/story/src/test/resources/village/org-password-policy.xml @@ -17,13 +17,6 @@ This file is an example of Password Policy definition. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Org Password Policy Permissive Password policy limits only the password length and character uniqueness. - - 999 - 9 - 0 - 0 - 0 - String validation policy