summaryrefslogtreecommitdiffstats
path: root/models/unit_tests.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-06-04 14:28:17 -0400
committerEthan Koenig <ethantkoenig@gmail.com>2017-06-04 14:28:17 -0400
commit9f9289fc68a0f8d6f23e06e8b41b54dc357fb5ce (patch)
treef96613c2c5ecea39238635a796b76bd01a1f21a9 /models/unit_tests.go
parente7ae13deefc3f3936793eded8551d314850f4c19 (diff)
downloadgitea-9f9289fc68a0f8d6f23e06e8b41b54dc357fb5ce.tar.gz
gitea-9f9289fc68a0f8d6f23e06e8b41b54dc357fb5ce.zip
Run unused test
Diffstat (limited to 'models/unit_tests.go')
-rw-r--r--models/unit_tests.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/models/unit_tests.go b/models/unit_tests.go
index 44b2e2c637..a3459e49f7 100644
--- a/models/unit_tests.go
+++ b/models/unit_tests.go
@@ -32,12 +32,6 @@ func CreateTestEngine() error {
return InitFixtures(&testfixtures.SQLite{}, "fixtures/")
}
-// TestFixturesAreConsistent assert that test fixtures are consistent
-func TestFixturesAreConsistent(t *testing.T) {
- assert.NoError(t, PrepareTestDatabase())
- CheckConsistencyForAll(t)
-}
-
// PrepareTestDatabase load test fixtures into test database
func PrepareTestDatabase() error {
return LoadFixtures()