Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 26, 2024
1 parent 3b2bb3d commit 28196fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ee/tabby-db/src/ldap_credential.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::{anyhow, Result};
use anyhow::Result;
use chrono::{DateTime, Utc};
use sqlx::{prelude::FromRow, query, query_scalar};
use sqlx::query;

use crate::DbConn;

Expand Down Expand Up @@ -145,7 +145,7 @@ mod tests {
assert_eq!(res.base_dn, "base_dn");
assert_eq!(res.user_filter, "user_filter");
assert_eq!(res.encryption, "encryption");
assert_eq!(res.skip_tls_verify, true);
assert!(res.skip_tls_verify);
assert_eq!(res.email_attribute, "email_attribute");
assert_eq!(res.name_attribute, "name_attribute");
let created_at = res.created_at;
Expand Down Expand Up @@ -179,7 +179,7 @@ mod tests {
assert_eq!(res.base_dn, "base_dn_2");
assert_eq!(res.user_filter, "user_filter_2");
assert_eq!(res.encryption, "encryption_2");
assert_eq!(res.skip_tls_verify, false);
assert!(!res.skip_tls_verify);
assert_eq!(res.email_attribute, "email_attribute_2");
assert_eq!(res.name_attribute, "name_attribute_2");
assert_eq!(res.created_at, created_at);
Expand Down

0 comments on commit 28196fd

Please sign in to comment.