Skip to content

Commit 2240acb

Browse files
committed
fix UT
1 parent 338ce11 commit 2240acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

identity/serialization_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func TestStateSerializationErrors(t *testing.T) {
141141
})
142142

143143
t.Run("invalid state type", func(t *testing.T) {
144-
require.Panics(t, func() { unmarshalState([]byte(`{"Desc": 999, "Time": "2023-01-01T00:00:00Z"}`)) })
144+
require.Panics(t, func() { unmarshalState([]byte(`{"Tag": 999, "Time": "2023-01-01T00:00:00Z"}`)) })
145145
})
146146

147147
t.Run("invalid state data", func(t *testing.T) {

0 commit comments

Comments
 (0)