Skip to content

Commit 6b87fc2

Browse files
committed
avoid race
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 18d2319 commit 6b87fc2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

models/db/unit_tests.go

-5
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,6 @@ func CreateTestEngine(fixturesDir string) error {
128128

129129
// PrepareTestDatabase load test fixtures into test database
130130
func PrepareTestDatabase() error {
131-
DefaultContext = &Context{
132-
Context: context.Background(),
133-
e: x,
134-
}
135-
136131
return LoadFixtures()
137132
}
138133

0 commit comments

Comments
 (0)