Skip to content

Commit 05f105a

Browse files
committed
chore: update tests
1 parent a8315d0 commit 05f105a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

firebase_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,18 @@ func TestAutoInit(t *testing.T) {
606606
}
607607
}
608608

609+
func TestFpnv(t *testing.T) {
610+
ctx := context.Background()
611+
app, err := NewApp(ctx, nil, option.WithCredentialsFile("testdata/service_account.json"))
612+
if err != nil {
613+
t.Fatal(err)
614+
}
615+
616+
if c, err := app.Fpnv(ctx); c == nil || err != nil {
617+
t.Errorf("Fpnv() = (%v, %v); want (fpnv, nil)", c, err)
618+
}
619+
}
620+
609621
func TestAutoInitInvalidFiles(t *testing.T) {
610622
tests := []struct {
611623
name string

0 commit comments

Comments
 (0)