summaryrefslogtreecommitdiffstats
path: root/models/main_test.go
blob: 11c175ef88c85f74cbae7f8c31234d0813558d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package models

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

// TestFixturesAreConsistent assert that test fixtures are consistent
func TestFixturesAreConsistent(t *testing.T) {
	assert.NoError(t, PrepareTestDatabase())
	CheckConsistencyForAll(t)
}

func TestMain(m *testing.M) {
	MainTest(m, "..")
}