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:
		@@ -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'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user