Skip to content

Commit

Permalink
Fix OutboxRepositoryIntegrationTest
Browse files Browse the repository at this point in the history
This is fixed on main with commit ced077d
  • Loading branch information
magro committed Sep 20, 2023
1 parent 55cfa22 commit 35f71df
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ void should_FindUnprocessedRecords() {
// then
assertThat(result.size(), is(1));
OutboxRecord foundRecord = result.get(0);
assertThat(foundRecord, samePropertyValuesAs(record2, "headers")); // ignore headers, because Json doesn't implement equals
// ignore created, because for the found record it's truncated to micros
// ignore headers, because Json doesn't implement equals
assertThat(foundRecord, samePropertyValuesAs(record2, "created", "headers"));
assertThat(foundRecord.getHeadersAsMap(), is(equalTo(record2.getHeadersAsMap())));
}

Expand Down

0 comments on commit 35f71df

Please sign in to comment.