mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-22 21:54:07 +00:00
fix up test that relied on it being broken
This commit is contained in:
1 parent
f020cce619
commit
a01c0af73e
1 file changed
+5
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user