diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-05-02 02:49:10 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-05-02 02:49:10 +0100 |
commit | d0ab67324c42d3d3be2700daa791e227c384c059 (patch) | |
tree | f80fc28a5bec031573d403c389a688efad8adc16 | |
parent | Assert the row in the init script (diff) | |
download | project2-d0ab67324c42d3d3be2700daa791e227c384c059.tar.bz2 project2-d0ab67324c42d3d3be2700daa791e227c384c059.tar.xz project2-d0ab67324c42d3d3be2700daa791e227c384c059.zip |
Test against a fixed time as class is initialized once per test
-rw-r--r-- | project2/sql/unittests/testCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/sql/unittests/testCore.cpp b/project2/sql/unittests/testCore.cpp index 911eccb..ce921c2 100644 --- a/project2/sql/unittests/testCore.cpp +++ b/project2/sql/unittests/testCore.cpp @@ -6,7 +6,7 @@ TestCore::TestCore() : testInt(43), testDouble(3.14), testString("Some C String"), - testDateTime(boost::posix_time::from_time_t(time(NULL))), + testDateTime(boost::posix_time::from_time_t(1430530593)), testInterval(boost::posix_time::time_duration(1, 2, 3)) { TestOptionsSource::LoadTestOptions({ |