summaryrefslogtreecommitdiff
path: root/workhorse/internal/upload/artifacts_upload_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/upload/artifacts_upload_test.go')
-rw-r--r--workhorse/internal/upload/artifacts_upload_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/workhorse/internal/upload/artifacts_upload_test.go b/workhorse/internal/upload/artifacts_upload_test.go
index 0a9e4ef3869..96eb3810673 100644
--- a/workhorse/internal/upload/artifacts_upload_test.go
+++ b/workhorse/internal/upload/artifacts_upload_test.go
@@ -66,7 +66,7 @@ func testArtifactsUploadServer(t *testing.T, authResponse *api.Response, bodyPro
if r.Method != "POST" {
t.Fatal("Expected POST request")
}
- if opts.IsLocal() {
+ if opts.IsLocalTempFile() {
if r.FormValue("file.path") == "" {
t.Fatal("Expected file to be present")
return