Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Jul 10, 2024
1 parent 5e9eb43 commit 39ca582
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Meilisearch.Tests/TenantTokenTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

using Xunit;

namespace Meilisearch.Tests
Expand Down Expand Up @@ -70,11 +71,11 @@ public void ClientThrowsIfNoKeyIsAvailable()
);
}


[Fact]
public void ClientThrowsIfKeyIsLessThan128Bits()
{
var customClient = new MeilisearchClient(_fixture.MeilisearchAddress(), "masterKey");
var customClient = new MeilisearchClient(_fixture.MeilisearchAddress(), "masterKey");
Assert.Throws<MeilisearchTenantTokenApiKeyInvalid>(
() => customClient.GenerateTenantToken(_uid, _searchRules)
);
Expand Down

0 comments on commit 39ca582

Please sign in to comment.