aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfigtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfigtest.cpp')
-rw-r--r--autotests/kconfigtest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp
index 9f88e67b..4657ea8d 100644
--- a/autotests/kconfigtest.cpp
+++ b/autotests/kconfigtest.cpp
@@ -2082,6 +2082,9 @@ void KConfigTest::testKAuthorizeEnums()
QVERIFY(!KAuthorized::authorize(KAuthorized::SHELL_ACCESS));
QVERIFY(!KAuthorized::authorizeAction(KAuthorized::OPEN_WITH));
actionRestrictions.deleteGroup();
+
+ QVERIFY(!KAuthorized::authorize((KAuthorized::GenericRestriction)0));
+ QVERIFY(!KAuthorized::authorizeAction((KAuthorized::GenericAction)0));
}
void KConfigTest::testKdeglobalsVsDefault()