test: check and handle error for testing
SonarQube Scan / SonarQube Trigger (push) Successful in 2m30s

This commit is contained in:
2026-01-26 18:55:59 +07:00
parent 48b680110a
commit 91bab8e3d6
14 changed files with 466 additions and 473 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
package middleware
import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"net"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
type mockRequestHeader struct {
@@ -1,9 +1,10 @@
package middleware
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"testing"
)
type mockResponseHeader struct {