From ea1100e38e0c9847aa93f7599b67ff9cfa9b7c1b Mon Sep 17 00:00:00 2001 From: deepfates Date: Mon, 28 Sep 2026 09:29:43 -0700 Subject: [PATCH] Redaction test: the fake MongoDB URL uses a .test host --- test/redaction_differential_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/redaction_differential_test.exs b/test/redaction_differential_test.exs index b63b6013..b10c091f 100644 --- a/test/redaction_differential_test.exs +++ b/test/redaction_differential_test.exs @@ -174,7 +174,7 @@ defmodule Imp.RedactionDifferentialTest do {"azure sas sig first", "https://acct.blob.core.windows.net/c/b?sig=FAKEazsig2&sv=1", []}, # database URLs {"db urls", - "postgres://u:FAKEpgurlpw@h/d mysql://root:FAKEmyurl@h redis://:FAKEredispw@h:6379 mongodb+srv://u:FAKEmongo@c.mongodb.net/?retryWrites=true amqp://guest:FAKEamqp@h #{sk}", + "postgres://u:FAKEpgurlpw@h/d mysql://root:FAKEmyurl@h redis://:FAKEredispw@h:6379 mongodb+srv://u:FAKEmongo@db.example.test/?retryWrites=true amqp://guest:FAKEamqp@h #{sk}", []}, {"db url special chars", "DATABASE_URL=postgres://u:FAKEp@ss:w0rd@h/d and #{sk}", []}, {"jdbc", "jdbc:postgresql://h:5432/d?user=u&password=FAKEjdbcpw&ssl=true #{sk}", []},