Skip to content

Commit 2cb97ce

Browse files
authored
Merge pull request #1 from FriendsOfShopware/claude/fix-go-tests-0188ffQHcP7zjaJk1a6SUZsj
Fix Go Tests
2 parents fd4dc11 + 2a30f1c commit 2cb97ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/friendsofshopware/shopmon-cli
22

3-
go 1.25.4
3+
go 1.24
44

55
require (
66
github.com/spf13/cobra v1.10.1

internal/deployment/telemetry_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ func TestHTTPTelemetryClient_SendAndParseResponse(t *testing.T) {
196196
server := startTestServer(t, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
197197
receivedAuth = r.Header.Get("Authorization")
198198
w.WriteHeader(http.StatusOK)
199+
_, _ = w.Write([]byte(`{"status":"ok"}`))
199200
}))
200201

201202
client := &HTTPTelemetryClient{

0 commit comments

Comments
 (0)