]> git.proxmox.com Git - pve-access-control.git/blobdiff - src/test/realm_sync_test.pl
convert regression tests to new 'remove-vanished' parameter
[pve-access-control.git] / src / test / realm_sync_test.pl
index 78089fa410f82a4c7ee3b9384de9a8350b8b1848..304c7ed83e8c72ab336279ebe46dbd7d3db23c6f 100755 (executable)
@@ -150,8 +150,6 @@ my $tests = [
        "non-full without purge",
        {
            realm => 'syncedrealm',
-           full => 0,
-           purge => 0,
            scope => 'both',
        },
        {
@@ -198,8 +196,7 @@ my $tests = [
        "full without purge",
        {
            realm => 'syncedrealm',
-           full => 1,
-           purge => 0,
+           'remove-vanished' => 'entry;properties',
            scope => 'both',
        },
        {
@@ -240,8 +237,7 @@ my $tests = [
        "non-full with purge",
        {
            realm => 'syncedrealm',
-           full => 0,
-           purge => 1,
+           'remove-vanished' => 'acl',
            scope => 'both',
        },
        {
@@ -286,8 +282,7 @@ my $tests = [
        "full with purge",
        {
            realm => 'syncedrealm',
-           full => 1,
-           purge => 1,
+           'remove-vanished' => 'acl;entry;properties',
            scope => 'both',
        },
        {