Skip to content

Commit

Permalink
initialize logger and update activesupport version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Jan 29, 2025
1 parent 2d5bb1d commit ba4e729
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ gem 'rake'
gem 'pry'
gem 'test-unit'
gem 'webmock', require: false
gem 'activesupport'
gem 'activesupport', '~> 7.0.8'
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activesupport
activesupport (~> 7.0.8)
ontologies_api_client!
pry
rake
Expand Down
5 changes: 3 additions & 2 deletions test/test_case.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
require 'test-unit'
require 'logger'
require 'active_support'
require 'active_support/logger'
require 'active_support/cache'
require_relative '../lib/ontologies_api_client'
require_relative '../config/config'
require 'webmock'

WebMock.allow_net_connect!

# Set up a cache for testing
Logger = ::Logger unless defined?(Logger)
CACHE = ActiveSupport::Cache::MemoryStore.new

module LinkedData
module Client
class TestCase < Test::Unit::TestCase
# You can use CACHE in your tests if needed
end
end
end

0 comments on commit ba4e729

Please sign in to comment.