aboutsummaryrefslogtreecommitdiff
path: root/tests/state-fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/state-fixture.h')
-rw-r--r--tests/state-fixture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/state-fixture.h b/tests/state-fixture.h
index 0286ea9..3c6ecd5 100644
--- a/tests/state-fixture.h
+++ b/tests/state-fixture.h
@@ -50,6 +50,7 @@ protected:
const DateTime now = DateTime::NowLocal();
m_clock.reset(new MockClock(now));
m_state.reset(new State);
+ m_state->settings.reset(new Settings);
m_state->timezones.reset(new Timezones);
m_state->clock = std::dynamic_pointer_cast<Clock>(m_clock);
m_state->planner.reset(new MockPlanner);