Skip to content

Commit 6a75ee8

Browse files
committed
fix: test expectation
1 parent 8fd0afa commit 6a75ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/rt_channel_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ defmodule Realtime.Integration.RtChannelTest do
766766
refute_receive %Message{event: "phx_leave", topic: ^topic}, 16000
767767
end)
768768

769-
assert log =~ "UnableToHandlePresence"
769+
assert log =~ ~r/external_id=#{tenant.external_id}.*UnableToHandlePresence/
770770
end
771771

772772
@tag policies: []
@@ -791,7 +791,7 @@ defmodule Realtime.Integration.RtChannelTest do
791791
refute_receive %Message{event: "phx_leave", topic: ^topic}
792792
end)
793793

794-
refute log =~ "UnableToHandlePresence"
794+
refute log =~ ~r/external_id=#{tenant.external_id}.*UnableToHandlePresence/
795795
end
796796

797797
@tag policies: [:authenticated_read_broadcast_and_presence, :authenticated_write_broadcast_and_presence]

0 commit comments

Comments
 (0)