Move integration tests into right directory
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
require "test_helper"
|
||||
|
||||
class ForwardAuthSystemTest < ActionDispatch::SystemTestCase
|
||||
driven_by :rack_test
|
||||
# Note: This file tests API endpoints directly (post/get/assert_response)
|
||||
# so it should use IntegrationTest, not SystemTestCase
|
||||
class ForwardAuthSystemTest < ActionDispatch::IntegrationTest
|
||||
|
||||
setup do
|
||||
@user = users(:one)
|
||||
@@ -1,7 +1,9 @@
|
||||
require "test_helper"
|
||||
require "webauthn/fake_client"
|
||||
|
||||
class WebauthnSecurityTest < ActionDispatch::SystemTestCase
|
||||
# Note: This file tests API endpoints directly (post/get/assert_response)
|
||||
# so it should use IntegrationTest, not SystemTestCase
|
||||
class WebauthnSecurityTest < ActionDispatch::IntegrationTest
|
||||
# ====================
|
||||
# REPLAY ATTACK PREVENTION (SIGN COUNT TRACKING) TESTS
|
||||
# ====================
|
||||
Reference in New Issue
Block a user