Skip to content

Commit 7f304ae

Browse files
authored
fix: tests shouldn't change the active team (#54)
1 parent e7ba91d commit 7f304ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/auth_login_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func TestRunAuthLogin(t *testing.T) {
3838
})
3939

4040
t.Run("skip-verify saves key without calling api", func(t *testing.T) {
41+
mockKeyring(t)
4142
result, err := runAuthLogin("test-key", "acme", true)
4243
if err != nil {
4344
t.Fatalf("unexpected error: %v", err)

0 commit comments

Comments
 (0)