diff --git a/internal/statetransition/state_transition_test.go b/internal/statetransition/state_transition_test.go index 2c0f1f2..dd47655 100644 --- a/internal/statetransition/state_transition_test.go +++ b/internal/statetransition/state_transition_test.go @@ -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]) }) @@ -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]) }) }