diff --git a/tests/units/testlib/gentodotest.cpp b/tests/units/testlib/gentodotest.cpp --- a/tests/units/testlib/gentodotest.cpp +++ b/tests/units/testlib/gentodotest.cpp @@ -24,6 +24,7 @@ #include "testlib/gentodo.h" #include +#include #include @@ -141,6 +142,10 @@ item = GenTodo(item).done(false); // THEN + // KCalCore 5.2.40 fixes this bug +#if KCALCORE_VERSION < 0x050228 + QEXPECT_FAIL("", "Bug introduced in KCalCore, fixed in upcoming 16.04", Continue); +#endif QVERIFY(!item.payload()->isCompleted()); }