fix(deps): update ginkgo import path to v2 in test files

This commit is contained in:
Jan Rundshagen 2025-03-30 10:02:16 +02:00 committed by Jan O. Rundshagen
parent 6d901a7442
commit a9642a2dcc
23 changed files with 116 additions and 157 deletions

View file

@ -6,12 +6,12 @@ import (
"net/http/httptest"
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
const (
token = "123123123"
token = "123123123"
)
func TestAPI(t *testing.T) {
@ -51,7 +51,7 @@ var _ = Describe("API", func() {
rec := httptest.NewRecorder()
req := httptest.NewRequest("GET", "/hello", nil)
req.Header.Set("Authorization", "Bearer " + token)
req.Header.Set("Authorization", "Bearer "+token)
handlerFunc(rec, req)