tests: Set TZ before running tests

Otherwise, we're depending on the host machine to run
the tests.
This commit is contained in:
Georges Basile Stavracas Neto
2018-07-31 12:35:56 -03:00
parent f376cd78d4
commit f17c7b91b8
+2
View File
@@ -221,6 +221,8 @@ gint
main (gint argc,
gchar *argv[])
{
g_setenv ("TZ", "UTC", TRUE);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/event/new", event_new);