Skip to content

Commit

Permalink
ARCO-194: fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Sep 11, 2024
1 parent 30d4172 commit 8b8d7ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/metamorph/store/postgresql/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ func TestPostgresDB(t *testing.T) {
require.Len(t, statusUpdates, 1)

updatedTx, err := postgresDB.Get(ctx, unminedHash[:])
require.NoError(t, err)

unmined.BlockHeight = 0
unmined.BlockHash = nil
Expand All @@ -621,6 +622,8 @@ func TestPostgresDB(t *testing.T) {
unmined.Status = metamorph_api.Status_RECEIVED
unmined.LastModified = postgresDB.now()

require.Equal(t, &unmined, updatedTx)

// Update tx with status RECEIVED to ACCEPTED_BY_NETWORK without additional history
updates = []store.UpdateStatus{
{
Expand Down

0 comments on commit 8b8d7ee

Please sign in to comment.