mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 10:23:39 +02:00
Add positive test for next song on song end to test group
This commit is contained in:
parent
5a70b5b627
commit
7245d320ab
1 changed files with 2 additions and 2 deletions
|
|
@ -139,5 +139,5 @@
|
|||
|
||||
(deftest song-has-ended
|
||||
(testing "Should play the next song when current song has ended"
|
||||
(is (not (dispatches? (events/audio-update {} [:audio/update {:ended? false}]) ::events/next-song))))
|
||||
(is (dispatches? (events/audio-update {} [:audio/update {:ended? true}]) ::events/next-song)))
|
||||
(is (not (dispatches? (events/audio-update {} [:audio/update {:ended? false}]) ::events/next-song)))
|
||||
(is (dispatches? (events/audio-update {} [:audio/update {:ended? true}]) ::events/next-song))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue