2
0

Add integration tests for mastodon-streaming (#36025)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: David Roetzel <david@roetzel.de>
This commit is contained in:
Emelia Smith
2025-09-30 09:27:09 +02:00
committed by Claire
parent 636ecd1d03
commit 4c12c2ed60
7 changed files with 359 additions and 5 deletions

View File

@@ -30,7 +30,8 @@ end
# This needs to be defined before Rails is initialized
STREAMING_PORT = ENV.fetch('TEST_STREAMING_PORT', '4020')
ENV['STREAMING_API_BASE_URL'] = "http://localhost:#{STREAMING_PORT}"
STREAMING_HOST = ENV.fetch('TEST_STREAMING_HOST', 'localhost')
ENV['STREAMING_API_BASE_URL'] = "http://#{STREAMING_HOST}:#{STREAMING_PORT}"
require_relative '../config/environment'