diff --git a/objectstore/AlgorithmsTest.cpp b/objectstore/AlgorithmsTest.cpp index 70523c35ffbf7c882ce545e961d8a00a57acf445..fcd34f8bedfcf12771ebf3081280f8e45dba7a0b 100644 --- a/objectstore/AlgorithmsTest.cpp +++ b/objectstore/AlgorithmsTest.cpp @@ -149,7 +149,7 @@ TEST(ObjectStore, ArchiveQueueAlgorithms) { ar.setMountPolicy(mp); ar.setArchiveReportURL(""); ar.setArchiveErrorReportURL(""); - ar.setRequester(cta::common::dataStructures::RequesterIdentity(0, 0)); + ar.setRequester(cta::common::dataStructures::RequesterIdentity("user0", "group0")); ar.setSrcURL("root://eoseos/myFile"); ar.setEntryLog(cta::common::dataStructures::EntryLog("user0", "host0", time(nullptr))); ar.insert(); diff --git a/objectstore/GarbageCollectorTest.cpp b/objectstore/GarbageCollectorTest.cpp index ceeb5b63049cc886e7a27624c0b1938c27583e0f..687988b6b0d41b46f8410837bded1189ed4b3890 100644 --- a/objectstore/GarbageCollectorTest.cpp +++ b/objectstore/GarbageCollectorTest.cpp @@ -308,8 +308,7 @@ TEST(ObjectStore, GarbageCollectorArchiveRequest) { re.initialize(); re.insert(); // Create the agent register - cta::objectstore::EntryLogSerDeser el("user0", - "unittesthost", time(NULL)); + cta::objectstore::EntryLogSerDeser el("user0", "unittesthost", time(NULL)); cta::objectstore::ScopedExclusiveLock rel(re); // Create the agent for objects creation cta::objectstore::AgentReference agentRef("unitTestCreateEnv", dl); @@ -376,7 +375,7 @@ TEST(ObjectStore, GarbageCollectorArchiveRequest) { ar.setMountPolicy(mp); ar.setArchiveReportURL(""); ar.setArchiveErrorReportURL(""); - ar.setRequester(cta::common::dataStructures::RequesterIdentity(0, 0)); + ar.setRequester(cta::common::dataStructures::RequesterIdentity("user0", "group0")); ar.setSrcURL("root://eoseos/myFile"); ar.setEntryLog(cta::common::dataStructures::EntryLog("user0", "host0", time(nullptr))); ar.insert();