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 318B

1234567891011121314151617
  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. }