Files
openproject/spec/support/parallel_helper.rb
T
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00

14 lines
229 B
Ruby

# frozen_string_literal: true
module ParallelHelper
module_function
def port_for_ldap
ENV.fetch("TEST_ENV_NUMBER", "1").to_i + 12389
end
def port_for_app
ENV.fetch("TEST_ENV_NUMBER", "1").to_i + 3000
end
end