Skip to content
Snippets Groups Projects
Commit 53431329 authored by Steven Murray's avatar Steven Murray
Browse files

Unit test MockSchedulerTest/SchedulerTest.createStorageClass_new/0 now passes

parent fe148989
No related branches found
No related tags found
No related merge requests found
......@@ -181,8 +181,7 @@ void cta::Scheduler::createStorageClass(
const std::string &name,
const uint16_t nbCopies,
const std::string &comment) {
// IMPORTANT
// KEEP NS AND DB IN SYNC
m_db.createStorageClass(requester, name, nbCopies, comment);
}
//------------------------------------------------------------------------------
......@@ -201,7 +200,7 @@ void cta::Scheduler::deleteStorageClass(
//------------------------------------------------------------------------------
std::list<cta::StorageClass> cta::Scheduler::getStorageClasses(
const SecurityIdentity &requester) const {
return std::list<StorageClass>();
return m_db.getStorageClasses(requester);
}
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment