test/support/helpers.rb in instana-1.213.2 vs test/support/helpers.rb in instana-1.213.3
- old
+ new
@@ -79,19 +79,7 @@
spans.each do |span|
return span if block.call(span)
end
raise StandardError, 'Span with qualifier not found'
end
-
- def has_postgres_database?
- URI(ENV.fetch('DATABASE_URL', '')).scheme == 'postgres'
- end
-
- def has_mysql2_database?
- URI(ENV.fetch('DATABASE_URL', '')).scheme == 'mysql2'
- end
-
- def has_mysql_database?
- URI(ENV.fetch('DATABASE_URL', '')).scheme == 'mysql'
- end
end
end