[users] Set up GS rootMountPoint for test

This commit is contained in:
Adriaan de Groot 2020-10-23 12:27:44 +02:00
parent 63196ab58f
commit 0d4d3e3c4d

View File

@ -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 );