]> cloud.milkyroute.net Git - dolphin.git/commit
Fix PlacesItemModelTest, 2nd try
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 5 Dec 2020 18:15:51 +0000 (19:15 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 5 Dec 2020 18:15:51 +0000 (19:15 +0100)
commitc453393d357f094bc48d61061bf818cfe9d1c4ec
tree87238abe2e221859c4151b3734b3dc302622b080
parent9b8ac3ef3f73a79896160fee7e92d4bc6a18c71d
Fix PlacesItemModelTest, 2nd try

This partly reverts 15a5189b1193cc7305ad2c556d67ec79bdb6e38a

The KDE CI does not have KDE_FULL_SESSION set, which means that KIO
doesn't add the recentlyused:// urls to the model, but defaults to the
old timeline:// urls instead.

In both cases KIO adds 2 places, so it is safe to always assume that the
expected model count is 14.
src/tests/placesitemmodeltest.cpp