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

Commit 2cb94cb

Browse files
committed
fixup! Add env create|edit integration tests
1 parent a4a9c35 commit 2cb94cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/integration/envs_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ func TestEnvsCLI(t *testing.T) {
5252

5353
t.Cleanup(func() {
5454
run(t, "coder-envs-edit-cleanup", func(t *testing.T, ctx context.Context, c *tcli.ContainerRunner){
55-
c.Run(ctx, fmt.Sprintf("coder envs rm %s --force", name)).Assert(t, tcli.Success())
55+
headlessLogin(ctx, t, c)
56+
c.Run(ctx, fmt.Sprintf("coder envs rm %s --force", name)).Assert(t)
5657
})
5758
})
5859

@@ -86,7 +87,8 @@ func TestEnvsCLI(t *testing.T) {
8687
)
8788
t.Cleanup(func() {
8889
run(t, "coder-envs-edit-cleanup", func(t *testing.T, ctx context.Context, c *tcli.ContainerRunner){
89-
c.Run(ctx, fmt.Sprintf("coder envs rm %s --force", name)).Assert(t, tcli.Success())
90+
headlessLogin(ctx, t, c)
91+
c.Run(ctx, fmt.Sprintf("coder envs rm %s --force", name)).Assert(t)
9092
})
9193
})
9294

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy