One of the tests fails inside PersistServerDayTaskTest
Reproduce the bug
mix test pathto/lib/teiserver/logging/tasks/persist_server_day_task.ex
Gives result
1) test perform task (Teiserver.Logging.Tasks.PersistServerDayTaskTest)
test/teiserver/logging/persist_server_day_task_test.exs:7
** (KeyError) key :date not found in: nil. If you are using the dot syntax, such as map.field, make sure the left-hand side of the dot is a map
code: assert log.date == Timex.to_date({2021, 1, 1})
stacktrace:
test/teiserver/logging/persist_server_day_task_test.exs:17: (test)
Finished in 0.1 seconds (0.00s async, 0.1s sync)
1 test, 1 failure
Describe the Bug
One of the tests fails inside PersistServerDayTaskTest
Reproduce the bug
Gives result
Screenshots
No response
Additional context
No response