summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_lfs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_repo_lfs_test.go')
-rw-r--r--integrations/api_repo_lfs_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/integrations/api_repo_lfs_test.go b/integrations/api_repo_lfs_test.go
index 9e1e2b0418..7aa172064e 100644
--- a/integrations/api_repo_lfs_test.go
+++ b/integrations/api_repo_lfs_test.go
@@ -13,10 +13,10 @@ import (
"testing"
"code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/modules/json"
"code.gitea.io/gitea/modules/lfs"
"code.gitea.io/gitea/modules/setting"
- jsoniter "github.com/json-iterator/go"
"github.com/stretchr/testify/assert"
)
@@ -86,7 +86,6 @@ func TestAPILFSBatch(t *testing.T) {
decodeResponse := func(t *testing.T, b *bytes.Buffer) *lfs.BatchResponse {
var br lfs.BatchResponse
- json := jsoniter.ConfigCompatibleWithStandardLibrary
assert.NoError(t, json.Unmarshal(b.Bytes(), &br))
return &br
}