aboutsummaryrefslogtreecommitdiff
path: root/tests/timezone-mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timezone-mock.h')
-rw-r--r--tests/timezone-mock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/timezone-mock.h b/tests/timezone-mock.h
index 67584cb..55151aa 100644
--- a/tests/timezone-mock.h
+++ b/tests/timezone-mock.h
@@ -30,6 +30,7 @@ class MockTimezone: public Timezone
{
public:
MockTimezone() =default;
+ explicit MockTimezone(const std::string& zone) {timezone.set(zone);}
~MockTimezone() =default;
};