From 0c4c87d6b3c4006239e7a3f4900da2e8dad5ba75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Fri, 15 Mar 2024 12:00:00 +0000 Subject: [PATCH] test: Remove dead code from helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Géczi --- test/support/helpers.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/support/helpers.rb b/test/support/helpers.rb index 21d7f95b..432abd28 100644 --- a/test/support/helpers.rb +++ b/test/support/helpers.rb @@ -81,17 +81,5 @@ def find_first_span_by_qualifier(spans, &block) 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