Refactor e2e tests

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-08-16 21:16:28 +03:00
parent cec8b5336c
commit d1982e64b2
28 changed files with 272 additions and 161 deletions

View File

@ -0,0 +1,14 @@
// +build unit
package main
import (
"os"
"testing"
)
func TestMain(m *testing.M) {
// Ensure tests print consistent timestamps regardless of timezone
os.Setenv("TZ", "UTC")
os.Exit(m.Run())
}