[users] Test distinguishes system groups from user groups
This commit is contained in:
parent
ff9abdfc08
commit
07027c2430
@ -95,7 +95,7 @@ UserTests::testDefaultGroups()
|
||||
QVERIFY( groups.isEmpty() );
|
||||
setConfigurationDefaultGroups( missing, groups );
|
||||
QCOMPARE( groups.count(), 6 ); // because of fallback!
|
||||
QVERIFY( groups.contains( GroupDescription( "lp" ) ) );
|
||||
QVERIFY( groups.contains( GroupDescription( "lp", false, GroupDescription::SystemGroup{} ) ) );
|
||||
}
|
||||
|
||||
{
|
||||
@ -105,7 +105,7 @@ UserTests::testDefaultGroups()
|
||||
typeMismatch.insert( "defaultGroups", 1 );
|
||||
setConfigurationDefaultGroups( typeMismatch, groups );
|
||||
QCOMPARE( groups.count(), 6 ); // because of fallback!
|
||||
QVERIFY( groups.contains( GroupDescription( "lp" ) ) );
|
||||
QVERIFY( groups.contains( GroupDescription( "lp", false, GroupDescription::SystemGroup{} ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user