-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0bbeaa
commit 84f68eb
Showing
3 changed files
with
22 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,14 +128,6 @@ def mock_magic_auth_challenge_response(self): | |
@pytest.fixture | ||
def mock_enroll_auth_factor_response(self): | ||
return { | ||
"authentication_challenge": { | ||
"object": "authentication_challenge", | ||
"id": "auth_challenge_01FVYZWQTZQ5VB6BC5MPG2EYC5", | ||
"created_at": "2022-02-15T15:26:53.274Z", | ||
"updated_at": "2022-02-15T15:26:53.274Z", | ||
"expires_at": "2022-02-15T15:36:53.279Z", | ||
"authentication_factor_id": "auth_factor_01FVYZ5QM8N98T9ME5BCB2BBMJ", | ||
}, | ||
"authentication_factor": { | ||
"object": "authentication_factor", | ||
"id": "auth_factor_01FVYZ5QM8N98T9ME5BCB2BBMJ", | ||
|
@@ -148,6 +140,14 @@ def mock_enroll_auth_factor_response(self): | |
"uri": "otpauth://totp/FooCorp:[email protected]?secret=NAGCCFS3EYRB422HNAKAKY3XDUORMSRF&issuer=FooCorp", | ||
}, | ||
}, | ||
"authentication_challenge": { | ||
"object": "authentication_challenge", | ||
"id": "auth_challenge_01FVYZWQTZQ5VB6BC5MPG2EYC5", | ||
"created_at": "2022-02-15T15:26:53.274Z", | ||
"updated_at": "2022-02-15T15:26:53.274Z", | ||
"expires_at": "2022-02-15T15:36:53.279Z", | ||
"authentication_factor_id": "auth_factor_01FVYZ5QM8N98T9ME5BCB2BBMJ", | ||
}, | ||
} | ||
|
||
@pytest.fixture | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters