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 07f77778af
commit 25fa81e431

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)