Skip to content

Commit 6fa001a

Browse files
hhvrcCopilot
andauthored
Update API.IntegrationTests/Tests/TokensTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cc5a84a commit 6fa001a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

API.IntegrationTests/Tests/TokensTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public async Task DeleteToken_Nonexistent_Returns404()
185185
public async Task GetTokenSelf_WithApiToken_ReturnsInfo()
186186
{
187187
var userId = await TestHelper.CreateUserInDb(WebApplicationFactory, "tokself", "tokself@test.org", "SecurePassword123#");
188-
var (tokenId, rawToken) = await TestHelper.CreateApiTokenInDb(WebApplicationFactory, userId, "SelfToken");
188+
var (_, rawToken) = await TestHelper.CreateApiTokenInDb(WebApplicationFactory, userId, "SelfToken");
189189
using var client = TestHelper.CreateApiTokenClient(WebApplicationFactory, rawToken);
190190

191191
var response = await client.GetAsync("/1/tokens/self");

0 commit comments

Comments
 (0)