浏览代码

Creating of subjects works without ID now so setId is not neccessary anymore.
The ID of a subject should be created by XNAT itself.
This rule also is effective to the ID of an experiment.

Daniel Knorr 10 年之前
父节点
当前提交
dc8c9fc46a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Libs/XNAT/Core/Testing/ctkXnatSessionTest.cpp

+ 0 - 1
Libs/XNAT/Core/Testing/ctkXnatSessionTest.cpp

@@ -257,7 +257,6 @@ void ctkXnatSessionTestCase::testCreateSubject()
   ctkXnatSubject* subject = new ctkXnatSubject(project);
 
   QString subjectName = QString("CTK_S") + QUuid::createUuid().toString().mid(1, 8);
-  subject->setId(subjectName);
   subject->setName(subjectName);
 
   subject->save();