Verified Commit 31578c12 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

[autotests] Make sure ItemSerializerTest is not affected by user configuration

ItemSerializer reads Config whether to enable payload compression or not.
This is disabled by default, but user may have a local config file that
enables it - that would however break the test since the test expects the
Item payload not the be compressed.
parent 6352f8a6
Pipeline #82349 passed with stage
in 14 minutes and 5 seconds
......@@ -12,6 +12,8 @@
#include <QTest>
#include <QStandardPaths>
using namespace Akonadi;
......@@ -37,6 +39,10 @@ void ItemSerializerTest::testDefaultSerializer_data()
void ItemSerializerTest::testDefaultSerializer()
// Avoid ItemSerializer from picking config from user's config, which affects how/whether
// compresion is enabled or not.
QFETCH(QByteArray, serialized);
Item item;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment