Skip to content

Commit 7e8b4b7

Browse files
alallemabidoubiwa
andauthored
Update tests/client/test_client_tenant_token.py
Co-authored-by: cvermand <[email protected]>
1 parent 28faa65 commit 7e8b4b7

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
@@ -65,7 +65,7 @@ def test_generate_tenant_token_with_empty_search_rules_in_list(get_private_key):
6565
client = meilisearch.Client(BASE_URL, get_private_key['key'])
6666

6767
with pytest.raises(Exception):
68-
client.generate_tenant_token(uid=get_private_key['uid'], search_rules=[''])
68+
client.generate_tenant_token(api_key_uid=get_private_key['uid'], search_rules=[''])
6969

7070
def test_generate_tenant_token_without_search_rules_in_list(get_private_key):
7171
"""Tests create a tenant token without search rules."""

0 commit comments

Comments
 (0)