Skip to content

Commit a01c0af

Browse files
committed
fix up test that relied on it being broken
1 parent f020cce commit a01c0af

File tree

1 file changed

+5
-0
lines changed
  • crates/storage-pg/src/personal

1 file changed

+5
-0
lines changed

crates/storage-pg/src/personal/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,11 @@ mod tests {
384384
assert!(!token.is_valid(clock.now()));
385385

386386
// Add a second access token, this time without expiration
387+
let _token = repo
388+
.personal_access_token()
389+
.revoke(&clock, token)
390+
.await
391+
.unwrap();
387392
let token = repo
388393
.personal_access_token()
389394
.add(&mut rng, &clock, &session, SECOND_TOKEN, None)

0 commit comments

Comments
 (0)