Remove unused functions

This commit is contained in:
Claudio Ortolina
2025-09-26 15:21:09 +03:00
parent aca5c80e4d
commit cc84c3a429
5 changed files with 0 additions and 45 deletions
-11
View File
@@ -47,16 +47,5 @@ defmodule LastFm.FeedTest do
assert {:ok, 0} == Feed.update([@track_two, @track_one])
assert_receive %{track_count: 0}
end
test "it returns tracks in descending order of scrobble" do
assert {:ok, 2} == Feed.update([@track_two, @track_one])
track_two_scrobbled_at_uts = @track_two.scrobbled_at_uts
track_one_scrobbled_at_uts = @track_one.scrobbled_at_uts
assert [
%{scrobbled_at_uts: ^track_two_scrobbled_at_uts},
%{scrobbled_at_uts: ^track_one_scrobbled_at_uts}
] = Feed.all_tracks(10)
end
end
end