Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

main_test.go 318B

123456789101112131415161718
  1. package models
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. // TestFixturesAreConsistent assert that test fixtures are consistent
  7. func TestFixturesAreConsistent(t *testing.T) {
  8. assert.NoError(t, PrepareTestDatabase())
  9. CheckConsistencyForAll(t)
  10. }
  11. func TestMain(m *testing.M) {
  12. MainTest(m, "..")
  13. }