mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
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:
parent
150f0fcba5
commit
5b97f25a15
7 changed files with 358 additions and 4 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue