@@ -51,8 +51,8 @@ func TestSignInOTPEmail(t *testing.T) { //nolint:maintidx
51
51
DefaultRole : "user" ,
52
52
Metadata : []byte ("null" ),
53
53
Roles : []string {"user" , "me" },
54
- PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
55
- OtpHash : pgtype. Text {}, //nolint:exhaustruct
54
+ PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
55
+ Otp : "" ,
56
56
OtpHashExpiresAt : pgtype.Timestamptz {}, //nolint:exhaustruct
57
57
OtpMethodLastUsed : pgtype.Text {}, //nolint:exhaustruct
58
58
},
@@ -222,8 +222,8 @@ func TestSignInOTPEmail(t *testing.T) { //nolint:maintidx
222
222
DefaultRole : "user" ,
223
223
Metadata : []byte ("null" ),
224
224
Roles : []string {"user" , "me" },
225
- PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
226
- OtpHash : pgtype. Text {}, //nolint:exhaustruct
225
+ PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
226
+ Otp : "" ,
227
227
OtpHashExpiresAt : pgtype.Timestamptz {}, //nolint:exhaustruct
228
228
OtpMethodLastUsed : pgtype.Text {}, //nolint:exhaustruct
229
229
},
@@ -347,8 +347,8 @@ func TestSignInOTPEmail(t *testing.T) { //nolint:maintidx
347
347
DefaultRole : "user" ,
348
348
Metadata : []byte (`{"asd":"asd"}` ),
349
349
Roles : []string {"user" },
350
- PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
351
- OtpHash : pgtype. Text {}, //nolint:exhaustruct
350
+ PhoneNumber : pgtype.Text {}, //nolint:exhaustruct
351
+ Otp : "" ,
352
352
OtpHashExpiresAt : pgtype.Timestamptz {}, //nolint:exhaustruct
353
353
OtpMethodLastUsed : pgtype.Text {}, //nolint:exhaustruct
354
354
},
0 commit comments