]> granicus.if.org Git - icinga2/commitdiff
Fix unit test icinga_legacytimeperiod/advanced
authorAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 10 May 2019 12:43:57 +0000 (14:43 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 6 Jun 2019 11:11:34 +0000 (13:11 +0200)
refs #5261

test/icinga-legacytimeperiod.cpp

index 1c3e0fd1b43c3c6d0dfaa21313dbe70d5ec145f1..45babcee33ddd1be575143adf572425aba982473 100644 (file)
@@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(advanced) {
        timestamp = "09:00-30:00";
        ref.tm_year = 2014 - 1900;
        ref.tm_mon = 9 - 1;
-       ref.tm_mday = 25;
+       ref.tm_mday = 24;
 
        LegacyTimePeriod::ProcessTimeRangeRaw(timestamp, &ref, &beg, &end);
        ts_beg = mktime(&beg);