Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #7.
Basically, it wanted to have kotlin standard library.
Also, there is a helper method createMusicSongs which is used to provide songs for tests.
This method used to return hand-crafted song entry which actually exists on subsonic test server.
But now navidrome test server is utilized in the project by default, so some tests was getting this song,
failed to lookup it up on navidrome demo server and thus, some tests fails.
I redone this method to pull a really present on server song, it would allow us to run tests against different subsonic servers in future.
All tests pass except testGetRecentDownloadsWithoutPlaylist. I still don't know why, have looked up changes in related to this test code, tried to rollback them and still couldn't figure out what's wrong.
The problem actually not the test's assertion, but exception is being throw inside application code:
P.S. All my pull requests are based one on another, I'm doing it because it simplifies for me building app with all my changes for personal use. I guess there would be no problems if you merge my PRs in submit order. If this is gonna cause problems, let me now and we'll figure something out.