[users] Add test for new notation for groups-with-details
This commit is contained in:
parent
07027c2430
commit
a86374386b
@ -119,6 +119,7 @@ UserTests::testDefaultGroupsYAML_data()
|
||||
QTest::newRow( "users.conf" ) << "users.conf" << 7 << "video";
|
||||
QTest::newRow( "dashed list" ) << "tests/4-audio.conf" << 4 << "audio";
|
||||
QTest::newRow( "blocked list" ) << "tests/3-wing.conf" << 3 << "wing";
|
||||
QTest::newRow( "issue 1523" ) << "tests/5-issue-1523.conf" << 4 << "foobar";
|
||||
}
|
||||
|
||||
void
|
||||
|
14
src/modules/users/tests/5-issue-1523.conf
Normal file
14
src/modules/users/tests/5-issue-1523.conf
Normal file
@ -0,0 +1,14 @@
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
---
|
||||
defaultGroups:
|
||||
- adm
|
||||
- name: foo
|
||||
must_exist: false
|
||||
system: true
|
||||
- name: bar
|
||||
must_exist: true
|
||||
- name: foobar
|
||||
must_exist: false
|
||||
system: false
|
Loading…
Reference in New Issue
Block a user