test(export): fix exporting participants CSV

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-17 16:30:17 +02:00
parent c49d816253
commit 1b0a7499f8
2 changed files with 13 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ defmodule Mobilizon.Service.Export.Participants.CSVTest do
assert CSV.ready?()
assert {:ok, path} = CSV.export(event)
assert content = File.read!("uploads/exports/csv/" <> path)
assert content = File.read!("test/uploads/exports/csv/" <> path)
assert content =~ "Participant name,Participant status,Participant message"
end
end