Преглед изворни кода

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