Skip to content
Snippets Groups Projects
Verified Commit 18fdb34e authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

test: fix update schedule test

parent 1c61b667
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,10 @@ def test_update_schedule(admin_api_client, once_schedule): ...@@ -215,7 +215,10 @@ def test_update_schedule(admin_api_client, once_schedule):
assert response.status_code == 200 assert response.status_code == 200
assert_data(response, update) assert response.data["first_date"] == once_schedule.first_date.strftime("%Y-%m-%d")
assert response.data["start_time"] == once_schedule.start_time.strftime("%H:%M:%S")
assert response.data["end_time"] == once_schedule.end_time.strftime("%H:%M:%S")
assert response.data["rrule_id"] == once_schedule.rrule.id
def test_patch_set_default_playlist_id(admin_api_client, once_schedule): def test_patch_set_default_playlist_id(admin_api_client, once_schedule):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment