Package list kdav / dc53fff
Remove patch that got upstream. Sandro KnauƟ 3 years ago
3 changed file(s) with 1 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
33 * Bump Standards-Version to 4.2.1 (No changes needed).
44 * Follow stable releases in KDE again..
55 * New upstream release (18.08.1).
6 * Remove patch that got upstream.
67
78 -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Thu, 13 Sep 2018 12:45:29 +0200
89
+0
-27
debian/patches/fix-autotests.patch less more
0 --- a/autotests/davitemslistjobtest.cpp
1 +++ b/autotests/davitemslistjobtest.cpp
2 @@ -22,6 +22,7 @@
3 #include <KDAV/DavItemsListJob>
4 #include <KDAV/DavUrl>
5 #include <KDAV/EtagCache>
6 +#include <KDAV/DavError>
7
8 #include <QTest>
9
10 @@ -31,13 +32,14 @@ void DavItemsListJobTest::noMatchingMime
11
12 QUrl url(QStringLiteral("http://localhost/collection"));
13 KDAV::DavUrl davUrl(url, KDAV::CardDav);
14 + KDAV::Error error(KDAV::ErrorNumber::ERR_ITEMLIST_NOMIMETYPE, 0, QString(), 0);
15
16 auto job = new KDAV::DavItemsListJob(davUrl, cache);
17 job->setContentMimeTypes(QStringList() << QStringLiteral("mime/invalid1") << QStringLiteral("mime/invalid2"));
18 job->exec();
19
20 - QCOMPARE(job->error(), 431);
21 - QCOMPARE(job->errorText(), QStringLiteral("There was a problem with the request. The requested mimetypes are not supported."));
22 + QCOMPARE(job->error(), KDAV::ErrorNumber::ERR_ITEMLIST_NOMIMETYPE);
23 + QCOMPARE(job->errorText(), error.errorText());
24
25 }
26
00 enable_debianabimanager.diff
1 fix-autotests.patch