Skip to content

Commit

Permalink
fix: review findings.
Browse files Browse the repository at this point in the history
Use same sequence id in unit tests InvariantParticipantModelVersioningTestTest.java
  • Loading branch information
belagertem committed Jan 21, 2025
1 parent 75bc85a commit 29209f9
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1211,17 +1211,16 @@ public void testRequirementR5003NoTestData() {
* </p>
*
* @param mdDescriptionVersion the MdDescriptionVersion to set
* @param mdStateVersion the MdStateVersion to set
*
* @param mdStateVersion the MdStateVersion to set
* @throws Exception on any exception
*/
@ParameterizedTest
@MethodSource("provideMdDescriptionVersionAndMdStateVersion")
public void testRequirementR5003TestMdDescriptionVersionAndMdStateVersion(
final @Nullable BigInteger mdDescriptionVersion, final @Nullable BigInteger mdStateVersion)
throws Exception {
final var initial = buildMdibWithMdDescriptionAndStateVersion(
MdibBuilder.DEFAULT_SEQUENCE_ID, mdDescriptionVersion, mdStateVersion);
final var initial =
buildMdibWithMdDescriptionAndStateVersion(SEQUENCE_ID, mdDescriptionVersion, mdStateVersion);
final var firstUpdate = buildDescriptionModificationReportWithParts(
SEQUENCE_ID,
BigInteger.valueOf(74),
Expand Down Expand Up @@ -1633,7 +1632,7 @@ public void testRequirementR5003BadDecrementStateVersion() throws Exception {
}

Envelope buildMdib(final @Nullable BigInteger vmdVersion, final @Nullable BigInteger mdsVersion) {
return buildMdib(MdibBuilder.DEFAULT_SEQUENCE_ID, vmdVersion, mdsVersion);
return buildMdib(SEQUENCE_ID, vmdVersion, mdsVersion);
}

/*
Expand Down

0 comments on commit 29209f9

Please sign in to comment.