Initial commit

This commit is contained in:
simon987
2019-01-12 16:18:14 -05:00
commit 83276ce8b0
25 changed files with 1367 additions and 0 deletions

20
test/main_test.go Normal file
View File

@@ -0,0 +1,20 @@
package test
import (
"src/task_tracker/api"
"src/task_tracker/config"
"testing"
"time"
)
func TestMain(m *testing.M) {
config.SetupConfig()
testApi := api.New()
testApi.Database.Reset()
go testApi.Run()
time.Sleep(time.Millisecond * 100)
m.Run()
}