summaryrefslogtreecommitdiffstats
path: root/integrations/api_token_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-11 18:21:34 +0800
committerGitHub <noreply@github.com>2019-05-11 18:21:34 +0800
commit34eee25bd42d19287e3e33afd169cc979ab61f37 (patch)
tree8def3b2f224745e3fbc0adaec2f01d7f752c443d /integrations/api_token_test.go
parent1658cd04e9918109867f2745ddf760d260681878 (diff)
downloadgitea-34eee25bd42d19287e3e33afd169cc979ab61f37.tar.gz
gitea-34eee25bd42d19287e3e33afd169cc979ab61f37.zip
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
Diffstat (limited to 'integrations/api_token_test.go')
-rw-r--r--integrations/api_token_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_token_test.go b/integrations/api_token_test.go
index 5768d3b48e..76660d160f 100644
--- a/integrations/api_token_test.go
+++ b/integrations/api_token_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"code.gitea.io/gitea/models"
- api "code.gitea.io/sdk/gitea"
+ api "code.gitea.io/gitea/modules/structs"
)
// TestAPICreateAndDeleteToken tests that token that was just created can be deleted