Commit 908dc66ad521c6e5dc513bfb0989363e5d4a0bd4

Authored by Paulo Graça
1 parent e501c44190
Exists in tests

Fix Helper method changed

ptcrisync-test/src/main/java/pt/ptcris/test/preparation/WorkTestPrepare.java
... ... @@ -44,10 +44,13 @@ public class WorkTestPrepare {
44 44 //Prepare and delete all remote works
45 45 helper.deleteAllSourcedWorks();
46 46  
  47 + BigInteger putCode;
47 48 //Export loaded works
48 49 for (Work work:worksToExport) {
49 50 //add an exported work to a list
50   - works.add(helper.addWork(work));
  51 + putCode = helper.addWork(work);
  52 + work.setPutCode(putCode);
  53 + works.add(work);
51 54 }
52 55 return works;
53 56 }
... ...