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 GitHub
parent 150f0fcba5
commit 5b97f25a15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 358 additions and 4 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'