diff --git a/autotests/playlistmodeltest.cpp b/autotests/playlistmodeltest.cpp index 44fe884..56c0956 100644 --- a/autotests/playlistmodeltest.cpp +++ b/autotests/playlistmodeltest.cpp @@ -33,6 +33,12 @@ private: } private Q_SLOTS: + void initTestCase() + { + // The C locale's collation is case-sensitive, so the sort order would depend on $LANG. + QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); + } + void sortsEpisodesNaturallyAndSkipsOtherFiles() { QTemporaryDir dir;