You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main_test.go 382B

123456789101112131415161718192021
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package webhook
  4. import (
  5. "path/filepath"
  6. "testing"
  7. "code.gitea.io/gitea/models/unittest"
  8. )
  9. func TestMain(m *testing.M) {
  10. unittest.MainTest(m, &unittest.TestOptions{
  11. GiteaRootPath: filepath.Join("..", ".."),
  12. FixtureFiles: []string{
  13. "webhook.yml",
  14. "hook_task.yml",
  15. },
  16. })
  17. }