Skip to content

Commit 19c90ca

Browse files
alallemabidoubiwa
andauthored
Update tests/client/test_client_tenant_token.py
Co-authored-by: cvermand <[email protected]>
1 parent 523c661 commit 19c90ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_client_tenant_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_generate_tenant_token_with_search_rules_on_one_index(get_private_key, e
4040
def test_generate_tenant_token_with_api_key(client, get_private_key, empty_index):
4141
"""Tests create a tenant token with search rules and an api key."""
4242
empty_index()
43-
token = client.generate_tenant_token(uid=get_private_key['uid'], search_rules=["*"], api_key=get_private_key['key'])
43+
token = client.generate_tenant_token(api_key_uid=get_private_key['uid'], search_rules=["*"], api_key=get_private_key['key'])
4444

4545
token_client = meilisearch.Client(BASE_URL, token)
4646
response = token_client.index('indexUID').search('')

0 commit comments

Comments
 (0)