Skip to content

Commit

Permalink
Wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
swi-jared committed Jul 31, 2024
1 parent 4b26227 commit 1e17c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/uams/uams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestUpdateClientId(t *testing.T) {
b := time.Now()
require.Equal(t, uid, currState.clientId)
require.Equal(t, "file", currState.via)
require.True(t, currState.updated.After(a))
require.True(t, currState.updated.After(a), "currState.updated: %s, is not after %s", currState.updated.String(), a.String())
require.True(t, currState.updated.Before(b), "currState.updated: %s, is not before %s", currState.updated.String(), b.String())

require.Equal(t, uid, GetCurrentClientId())
Expand Down

0 comments on commit 1e17c9c

Please sign in to comment.