Skip to content

Commit 28faa65

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

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
@@ -53,7 +53,7 @@ def test_generate_tenant_token_with_expires_at(client, get_private_key, empty_in
5353
client = meilisearch.Client(BASE_URL, get_private_key['key'])
5454
tomorrow = datetime.datetime.utcnow() + datetime.timedelta(days=1)
5555

56-
token = client.generate_tenant_token(uid=get_private_key['uid'], search_rules=["*"], expires_at=tomorrow)
56+
token = client.generate_tenant_token(api_key_uid=get_private_key['uid'], search_rules=["*"], expires_at=tomorrow)
5757

5858
token_client = meilisearch.Client(BASE_URL, token)
5959
response = token_client.index('indexUID').search('')

0 commit comments

Comments
 (0)