Update WCM submit tests - fix couple of typos (follow-on from 16993)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16994 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2009-10-16 16:52:45 +00:00
parent e197ee5805
commit e6cd7ddbcd

View File

@@ -1416,7 +1416,7 @@ public class SandboxServiceImplTest extends AbstractWCMServiceImplTest
// submit (deleted asset)
sbService.submitWebApp(authorSandboxIdA, webAppA, "A2", "A2");
pollForSnapshotCount(stagingSandboxIdA, 1);
pollForSnapshotCount(stagingSandboxIdA, 2);
// Switch back to Web Project B
@@ -1427,7 +1427,7 @@ public class SandboxServiceImplTest extends AbstractWCMServiceImplTest
// ETHREEOH_2581
sbService.submitWebApp(authorSandboxIdB, webAppB, "B2", "B2");
pollForSnapshotCount(stagingSandboxIdB, 1);
pollForSnapshotCount(stagingSandboxIdB, 2);
}
public void testSubmitUpdatedItemWithLF() throws IOException, InterruptedException
@@ -2542,7 +2542,7 @@ public class SandboxServiceImplTest extends AbstractWCMServiceImplTest
TransactionService transactionService = (TransactionService) ctx.getBean("transactionService");
transactionService.getRetryingTransactionHelper().doInTransaction(new TxnWork());
pollForSnapshotCount(stagingSandboxId, 3);
pollForSnapshotCount(stagingSandboxId, 2);
snapshotVersions = sbService.listSnapshots(sbStoreId, false);
assertEquals(2, snapshotVersions.size());