Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam committed Apr 24, 2024
1 parent 2e94857 commit cf2b17e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ee/tabby-webserver/src/service/user_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl UserEventService for UserEventServiceImpl {
mod tests {
use super::*;
use chrono::Duration;
use tabby_db::{DateTimeUtc, DbConn};
use tabby_db::DbConn;

fn timestamp() -> u128 {
use std::time::{SystemTime, UNIX_EPOCH};
Expand Down Expand Up @@ -78,8 +78,8 @@ mod tests {
None,
None,
None,
DateTimeUtc::now() - Duration::minutes(1),
DateTimeUtc::now() + Duration::minutes(1),
Utc::now() - Duration::minutes(1),
Utc::now() + Duration::minutes(1),
)
.await
.unwrap()
Expand Down

0 comments on commit cf2b17e

Please sign in to comment.