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