Commit e48fa48f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

unittest: Album: Fix SortByNonSensical test

Since we now handle InsertionDate when sorting album, this test doesn't
test what it's supposed to.
Regression from !487
parent a34d6e25
Pipeline #146866 passed with stages
in 6 minutes and 56 seconds
......@@ -676,7 +676,7 @@ static void SortByNonSensical( Tests* T )
a3->setAlbumArtist( artist1 );
QueryParameters params { SortingCriteria::InsertionDate, false };
QueryParameters params { static_cast<SortingCriteria>( -1 ), false };
auto albums = T->ml->albums( &params )->all();
ASSERT_EQ( 3u, albums.size() );
ASSERT_EQ( a1->id(), albums[0]->id() );
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