Skip to content

Commit

Permalink
chore: Update tests to use latest valid block stream info protobuf (#…
Browse files Browse the repository at this point in the history
…15230)

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
  • Loading branch information
mhess-swl committed Aug 28, 2024
1 parent 418357f commit b1bf1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ void testRegisterSchemas() {
schema.migrate(migrationContext);

verify(blockStreamState).put(blockInfoCapture.capture());
assertEquals(
new BlockStreamInfo(0, Bytes.EMPTY, null, Bytes.EMPTY, Bytes.EMPTY), blockInfoCapture.getValue());
assertEquals(new BlockStreamInfo(0, null, Bytes.EMPTY, Bytes.EMPTY), blockInfoCapture.getValue());
return null;
});
final var testConfig = HederaTestConfigBuilder.create()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ void testMigration() {
verify(mockBlockStreamInfo).put(captor.capture());

BlockStreamInfo blockInfoCapture = captor.getValue();
assertEquals(new BlockStreamInfo(0, Bytes.EMPTY, null, Bytes.EMPTY, Bytes.EMPTY), blockInfoCapture);
assertEquals(new BlockStreamInfo(0, null, Bytes.EMPTY, Bytes.EMPTY), blockInfoCapture);
}
}

0 comments on commit b1bf1e1

Please sign in to comment.