fix up test that relied on it being broken

This commit is contained in:
Olivier 'reivilibre
2025-10-23 16:02:19 +01:00
parent f020cce619
commit a01c0af73e
+5
View File
@@ -384,6 +384,11 @@ mod tests {
assert!(!token.is_valid(clock.now()));
// Add a second access token, this time without expiration
let _token = repo
.personal_access_token()
.revoke(&clock, token)
.await
.unwrap();
let token = repo
.personal_access_token()
.add(&mut rng, &clock, &session, SECOND_TOKEN, None)