1package daemon23import (4 "net/http"5 "strings"6 "testing"7)89func TestBlobGetMissingReturnsNotFoundAfterAuthentication(t *testing.T) {10 _, tenant := testTenant(t)11 missing := strings.Repeat("a", 64)1213 response := getArtifact(t, tenant, "/"+missing, testOwnerSecret)14 if response.Code != http.StatusNotFound {15 t.Fatalf("missing authenticated blob status = %d, want %d: %s", response.Code, http.StatusNotFound, response.Body.String())16 }17}