-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(deriv_passkeys): added mock data passkeysRegisterResponse
- Loading branch information
1 parent
df67b57
commit d3c836a
Showing
2 changed files
with
20 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
lib/services/connection/api_manager/mock_data/passkeys/passkeys_register_response.dart
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// Wallet migration response mock data. | ||
const String passkeysRegisterResponse = '''{ | ||
"echo_req": { | ||
"passkeys_register": 1 | ||
}, | ||
"msg_type": "passkeys_register", | ||
"passkeys_register": { | ||
"properties": { | ||
"created_at": 10000, | ||
"id": "id", | ||
"last_used": 10000, | ||
"name": "Passkey", | ||
"passkey_id": "passkeyId", | ||
"stored_on": "storedOn", | ||
} | ||
} | ||
}'''; |