From c1bf64f16a6b26b7a63080ea192e1c002343a315 Mon Sep 17 00:00:00 2001 From: Pablo Brasero Date: Mon, 23 Mar 2026 09:43:02 +0000 Subject: [PATCH] Work on macOS, following a change in libxml2 This is a follow-up to https://github.com/openstreetmap/openstreetmap-website/pull/6902 --- test/jobs/trace_importer_job_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jobs/trace_importer_job_test.rb b/test/jobs/trace_importer_job_test.rb index 2fb7098b9..cb2995a7a 100644 --- a/test/jobs/trace_importer_job_test.rb +++ b/test/jobs/trace_importer_job_test.rb @@ -84,7 +84,7 @@ class TraceImporterJobTest < ActiveJob::TestCase email = ActionMailer::Base.deliveries.last assert_equal trace.user.email, email.to[0] assert_match(/failure/, email.subject) - assert_match(/Start tag expected/, email.text_part.body.to_s, "should include parser error") + assert_match(/Fatal error:/, email.text_part.body.to_s, "should include parser error") assert_no_match(%r{jobs/trace_importer_job\.rb}, email.text_part.body.to_s, "should not include stack backtrace") ActionMailer::Base.deliveries.clear -- 2.39.5