We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b4e36 commit 24bca17Copy full SHA for 24bca17
integration/auth/user_mgt_test.go
@@ -403,6 +403,7 @@ func TestCreateUser(t *testing.T) {
403
t.Fatalf("CreateUser() = %v; want = nil", err)
404
}
405
defer deleteUser(user.UID)
406
+ var emptyFactors []*auth.MultiFactorInfo
407
want := auth.UserRecord{
408
UserInfo: &auth.UserInfo{
409
UID: user.UID,
@@ -412,6 +413,9 @@ func TestCreateUser(t *testing.T) {
412
413
CreationTimestamp: user.UserMetadata.CreationTimestamp,
414
},
415
TokensValidAfterMillis: user.TokensValidAfterMillis,
416
+ MultiFactor: &auth.MultiFactorSettings{
417
+ EnrolledFactors: emptyFactors,
418
+ },
419
420
if !reflect.DeepEqual(*user, want) {
421
t.Errorf("CreateUser() = %#v; want = %#v", *user, want)
0 commit comments