本站源代码
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.

18 lines
318B

  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. }
上海开阖软件有限公司 沪ICP备12045867号-1