summaryrefslogtreecommitdiffstats
path: root/services/webhook/packagist_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/webhook/packagist_test.go')
-rw-r--r--services/webhook/packagist_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/webhook/packagist_test.go b/services/webhook/packagist_test.go
index 4941ae3f01..932b56fe9b 100644
--- a/services/webhook/packagist_test.go
+++ b/services/webhook/packagist_test.go
@@ -6,8 +6,8 @@ package webhook
import (
"testing"
- webhook_model "code.gitea.io/gitea/models/webhook"
api "code.gitea.io/gitea/modules/structs"
+ webhook_module "code.gitea.io/gitea/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -101,7 +101,7 @@ func TestPackagistPayload(t *testing.T) {
p.Action = api.HookIssueReviewed
d := new(PackagistPayload)
- pl, err := d.Review(p, webhook_model.HookEventPullRequestReviewApproved)
+ pl, err := d.Review(p, webhook_module.HookEventPullRequestReviewApproved)
require.NoError(t, err)
require.Nil(t, pl)
})