Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-romano committed Dec 31, 2024
1 parent 5fdd227 commit 990725c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/statetransition/state_transition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ func TestCalculateNewCoreAssignments(t *testing.T) {
currentTimeslot,
state.EntropyPool{},
)
require.ErrorIs(t, err, ErrCredentialVerificationFailed)
require.ErrorIs(t, err, ErrWrongAssignment)
require.Nil(t, newAssignments[0])
})

Expand Down Expand Up @@ -692,7 +692,7 @@ func TestCalculateNewCoreAssignments(t *testing.T) {
currentTimeslot,
state.EntropyPool{},
)
assert.ErrorIs(t, err, ErrCredentialVerificationFailed)
require.ErrorIs(t, err, ErrWrongAssignment)
require.Nil(t, newAssignments[0])
})
}
Expand Down

0 comments on commit 990725c

Please sign in to comment.