Skip to content

Commit

Permalink
Amélioration de la stabilité d'un test (#4400)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineAugusti authored Dec 20, 2024
1 parent d1730e6 commit 54c5928
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ defmodule Transport.Test.Transport.Jobs.ImportGBFSFeedContactEmailJobTest do

assert :ok == perform_job(ImportGBFSFeedContactEmailJob, %{})

assert [first_contact, new_contact] = DB.Contact |> DB.Repo.all() |> Enum.sort_by(& &1.inserted_at)
assert [first_contact, new_contact] = DB.Contact |> DB.Repo.all() |> Enum.sort_by(& &1.id)

assert %DB.Contact{id: ^existing_gbfs_contact_id, email: ^gbfs_2_email} = first_contact
assert "Example" == Transport.GBFSMetadata.operator(gbfs_1.url)
Expand Down

0 comments on commit 54c5928

Please sign in to comment.