Skip to content

Commit 3866553

Browse files
alallemabidoubiwa
andauthored
Update tests/client/test_client_tenant_token.py
Co-authored-by: cvermand <[email protected]>
1 parent 744dac7 commit 3866553

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
@@ -86,7 +86,7 @@ def test_generate_tenant_token_with_empty_search_rules_in_dict(get_private_key):
8686
client = meilisearch.Client(BASE_URL, get_private_key['key'])
8787

8888
with pytest.raises(Exception):
89-
client.generate_tenant_token(uid=get_private_key['uid'], search_rules={''})
89+
client.generate_tenant_token(api_key_uid=get_private_key['uid'], search_rules={''})
9090

9191
def test_generate_tenant_token_with_bad_expires_at(client, get_private_key):
9292
"""Tests create a tenant token with a bad expires at."""

0 commit comments

Comments
 (0)