Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit b258af5

Browse files
committed
fix: patch test case scope
1 parent a7a7b37 commit b258af5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/cmd/envs_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ func Test_envs_ls(t *testing.T) {
1818
res.stdoutUnmarshals(t, &envs)
1919
}
2020

21-
//nolint
2221
func Test_envs_ls_by_provider(t *testing.T) {
22+
skipIfNoAuth(t)
2323
for _, test := range []struct {
2424
name string
2525
command []string
@@ -39,6 +39,7 @@ func Test_envs_ls_by_provider(t *testing.T) {
3939
},
4040
},
4141
} {
42+
test := test
4243
t.Run(test.name, func(t *testing.T) {
4344
test.assert(execute(t, nil, test.command...))
4445
})

0 commit comments

Comments
 (0)