diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f5cee7..18c9ccb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,12 +11,12 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: [2.4, 2.5, 2.6, 2.7, 3.0] + ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4.0-preview1'] steps: - uses: actions/checkout@v2 - - uses: ruby/setup-ruby@v1.63.0 + - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true diff --git a/test/remote/gateways/remote_epsilon_convenience_store_test.rb b/test/remote/gateways/remote_epsilon_convenience_store_test.rb index 05fdd0a..1a573bf 100644 --- a/test/remote/gateways/remote_epsilon_convenience_store_test.rb +++ b/test/remote/gateways/remote_epsilon_convenience_store_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class RemoteEpsilonConvenienceStoreGatewayTest < MiniTest::Test +class RemoteEpsilonConvenienceStoreGatewayTest < Minitest::Test include SamplePaymentMethods def gateway diff --git a/test/remote/gateways/remote_epsilon_gmo_id_test.rb b/test/remote/gateways/remote_epsilon_gmo_id_test.rb index 94719fd..62a9808 100644 --- a/test/remote/gateways/remote_epsilon_gmo_id_test.rb +++ b/test/remote/gateways/remote_epsilon_gmo_id_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class RemoteEpsilonGmoIdGatewayTest < MiniTest::Test +class RemoteEpsilonGmoIdGatewayTest < Minitest::Test include SamplePaymentMethods def gateway diff --git a/test/remote/gateways/remote_epsilon_link_payment_test.rb b/test/remote/gateways/remote_epsilon_link_payment_test.rb index ce66593..f15f688 100644 --- a/test/remote/gateways/remote_epsilon_link_payment_test.rb +++ b/test/remote/gateways/remote_epsilon_link_payment_test.rb @@ -1,5 +1,5 @@ require 'test_helper' -class RemoteEpsilonLinkPaymentTest < MiniTest::Test +class RemoteEpsilonLinkPaymentTest < Minitest::Test include SamplePaymentMethods def gateway diff --git a/test/remote/gateways/remote_epsilon_test.rb b/test/remote/gateways/remote_epsilon_test.rb index d29ff9a..77059b5 100644 --- a/test/remote/gateways/remote_epsilon_test.rb +++ b/test/remote/gateways/remote_epsilon_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class RemoteEpsilonGatewayTest < MiniTest::Test +class RemoteEpsilonGatewayTest < Minitest::Test include SamplePaymentMethods def gateway diff --git a/test/remote/gateways/remote_epsilon_virtual_account_test.rb b/test/remote/gateways/remote_epsilon_virtual_account_test.rb index 0607a15..36e9138 100644 --- a/test/remote/gateways/remote_epsilon_virtual_account_test.rb +++ b/test/remote/gateways/remote_epsilon_virtual_account_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class RemoteEpsilonVirtualAccountGatewayTest < MiniTest::Test +class RemoteEpsilonVirtualAccountGatewayTest < Minitest::Test include SamplePaymentMethods def gateway diff --git a/test/test_helper.rb b/test/test_helper.rb index 11979f1..61af991 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -69,7 +69,7 @@ def valid_three_d_secure_card last_name: 'YAMADA', number: '4123451111111117', month: '12', - year: '2023', + year: Time.now.year + 1, ) end diff --git a/test/unit/billing/convenience_store_test.rb b/test/unit/billing/convenience_store_test.rb index 64ad45c..2f7ffa8 100644 --- a/test/unit/billing/convenience_store_test.rb +++ b/test/unit/billing/convenience_store_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class EpsilonConvenienceStoreTest < MiniTest::Test +class EpsilonConvenienceStoreTest < Minitest::Test def test_blank_parameter_generate_error convenience_store = ActiveMerchant::Billing::ConvenienceStore.new(code: "", full_name_kana: "", diff --git a/test/unit/gateways/epsilon_test.rb b/test/unit/gateways/epsilon_test.rb index 6b4b92a..25c3993 100644 --- a/test/unit/gateways/epsilon_test.rb +++ b/test/unit/gateways/epsilon_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class EpsilonGatewayTest < MiniTest::Test +class EpsilonGatewayTest < Minitest::Test include SamplePaymentMethods def test_set_proxy_address_and_port