Skip to content

Commit

Permalink
fix(ScheduleControllerTest): Remove sorting expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
KaylaBrady committed Nov 8, 2024
1 parent aef24c8 commit f6c9331
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ defmodule MobileAppBackendWeb.ScheduleControllerTest do
stop: "place-boyls",
date: ~D[2024-03-12]
],
include: :trip,
sort: {:departure_time, :asc}
include: :trip
] = params

ok_response([s1, s2], [t1, t2])
Expand Down Expand Up @@ -129,8 +128,7 @@ defmodule MobileAppBackendWeb.ScheduleControllerTest do
stop: "place-boyls",
date: ~D[2024-03-12]
],
include: :trip,
sort: {:departure_time, :asc}
include: :trip
],
_opts ->
ok_response([s1], [t1])
Expand All @@ -140,8 +138,7 @@ defmodule MobileAppBackendWeb.ScheduleControllerTest do
stop: "place-pktrm",
date: ~D[2024-03-12]
],
include: :trip,
sort: {:departure_time, :asc}
include: :trip
],
_opts ->
ok_response([s2], [t2])
Expand Down Expand Up @@ -209,8 +206,7 @@ defmodule MobileAppBackendWeb.ScheduleControllerTest do
stop: "place-boyls",
date: ~D[2024-03-12]
],
include: :trip,
sort: {:departure_time, :asc}
include: :trip
] = params

ok_response([s1], [t1])
Expand All @@ -221,8 +217,7 @@ defmodule MobileAppBackendWeb.ScheduleControllerTest do
stop: "place-pktrm",
date: ~D[2024-03-12]
],
include: :trip,
sort: {:departure_time, :asc}
include: :trip
] = params

{:error, :some_error_message}
Expand Down

0 comments on commit f6c9331

Please sign in to comment.