Sfoglia il codice sorgente

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 anni fa
parent
commit
dc8c9fc46a
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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();