mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore(testutil): extract testutil.CreateZip and testutil.CreateTar helpers (#15540)
Extracts `testutil.CreateTar` and `testutil.CreateZip` test helpers.
This commit is contained in:
@ -34,7 +34,7 @@ func TestTimingsFromProvision(t *testing.T) {
|
||||
binaryPath: fakeBin,
|
||||
})
|
||||
sess := configure(ctx, t, api, &proto.Config{
|
||||
TemplateSourceArchive: makeTar(t, nil),
|
||||
TemplateSourceArchive: testutil.CreateTar(t, nil),
|
||||
})
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, testutil.WaitLong)
|
||||
|
Reference in New Issue
Block a user