[users] Set up GS rootMountPoint for test
This commit is contained in:
parent
63196ab58f
commit
0d4d3e3c4d
@ -9,6 +9,7 @@
|
||||
|
||||
#include "CreateUserJob.h"
|
||||
|
||||
#include "GlobalStorage.h"
|
||||
#include "JobQueue.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
@ -47,6 +48,7 @@ GroupTests::initTestCase()
|
||||
void
|
||||
GroupTests::testReadGroup()
|
||||
{
|
||||
Calamares::JobQueue::instance()->globalStorage()->insert( "rootMountPoint", "/" );
|
||||
// Get the groups in the host system
|
||||
QStringList groups = groupsInTargetSystem();
|
||||
QVERIFY( groups.count() > 2 );
|
||||
|
Loading…
Reference in New Issue
Block a user