diff --git a/cinema/tests/test_movie_session_api.py b/cinema/tests/test_movie_session_api.py index 1bd25f3b..cd1b509b 100644 --- a/cinema/tests/test_movie_session_api.py +++ b/cinema/tests/test_movie_session_api.py @@ -83,7 +83,8 @@ def test_get_movie_sessions_filtered_by_movie(self): def test_get_movie_sessions_filtered_by_movie_and_data(self): movie_sessions = self.client.get( - f"/api/cinema/movie_sessions/?movie="{self.movie.id}&date=2022-09-2" + f"/api/cinema/movie_sessions/?movie=" + f"{self.movie.id}&date=2022-09-2" ) self.assertEqual(movie_sessions.status_code, status.HTTP_200_OK) self.assertEqual(len(movie_sessions.data), 1)