diff options
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java')
-rw-r--r-- | plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java b/plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java index 98ca57dbe80..548cca21271 100644 --- a/plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java +++ b/plugins/org.eclipse.osee.orcs.test/src/org/eclipse/osee/orcs/api/OrcsBranchTest.java @@ -65,8 +65,8 @@ public class OrcsBranchTest { @Test public void testCreateBranch() throws Exception { - int SOURCE_TX_ID = 13; // Chosen starting transaction on Common Branch - int CHANGED_TX_ID = 14; // Transaction containing tested change + int SOURCE_TX_ID = 7; // Chosen starting transaction on Common Branch + int CHANGED_TX_ID = 8; // Transaction containing tested change // set up the query factory for the test QueryFactory qf = orcsApi.getQueryFactory(context); @@ -81,19 +81,19 @@ public class OrcsBranchTest { Assert.assertNotNull(callable); ReadableBranch priorBranch = callable.call(); - // in the database, on the common branch, the users are all created in transaction 14 + // in the database, on the common branch, the users are all created in transaction 8 // the common branch will have one user named Joe Smith int coreResult = qf.fromBranch(CoreBranches.COMMON).andNameEquals(ARTIFACT_NAME).getResults().getList().size(); Assert.assertEquals(1, coreResult); - // we copied the branch at transaction 13, so, on the copied branch there will not be any + // we copied the branch at transaction 7, so, on the copied branch there will not be any // user Joe Smith int priorResult = qf.fromBranch(priorBranch).andNameEquals(ARTIFACT_NAME).getResults().getList().size(); Assert.assertEquals(0, priorResult); - // finally, we copy another branch at transaction id 14, this is the transaction that added the + // finally, we copy another branch at transaction id 8, this is the transaction that added the // user Joe Smith, so if the code is correct, and the copy includes the final // transaction, then this will produce the same result as the query of the common branch // create the branch with the copied transaction |