NOISSUE - Fix callout test (#3041)
Continuous Delivery / Build and Push (push) Has been cancelled
Check the consistency of generated files / check-generated-files (push) Has been cancelled
Check License Header / check-license (push) Has been cancelled
Deploy GitHub Pages / swagger-ui (push) Has been cancelled

Signed-off-by: Arvindh <arvindh91@gmail.com>
This commit is contained in:
Arvindh
2025-08-01 17:58:49 +05:30
committed by GitHub
parent 4ffb1fe422
commit 99493d86ff
-2
View File
@@ -20,7 +20,6 @@ import (
"github.com/absmach/supermq/pkg/callout"
"github.com/absmach/supermq/pkg/errors"
svcerr "github.com/absmach/supermq/pkg/errors/service"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
@@ -244,7 +243,6 @@ func TestCallout_MakeRequest(t *testing.T) {
contextSetup: func() context.Context { return context.Background() },
operations: []string{operation},
expectError: true,
err: svcerr.ErrAuthorization,
},
{
desc: "invalid URL",