Update test from EIP712 to EIP4361

pull/3564/head
James Campbell 2024-11-07 10:38:55 +07:00
parent 40339d4f5e
commit 11499a3462
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

View File

@ -259,7 +259,7 @@ def test_json_api_condition_evaluation_with_auth_token(mocker):
def test_json_api_condition_evaluation_with_user_address_context_variable(
mocker, valid_eip712_auth_message
mocker, valid_eip4361_auth_message
):
mocked_get = mocker.patch(
"requests.get",
@ -269,7 +269,7 @@ def test_json_api_condition_evaluation_with_user_address_context_variable(
endpoint="https://randomapi.com/api/v3/:userAddress",
return_value_test=ReturnValueTest("==", 0.0),
)
auth_message = valid_eip712_auth_message
auth_message = valid_eip4361_auth_message
context = {":userAddress": auth_message}
assert condition.verify(**context) == (True, 0.0)
assert mocked_get.call_count == 1