Skip to content

Commit c3b7a4c

Browse files
committed
Fix warnings in test
1 parent 673193f commit c3b7a4c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

webservice/src/api/search/tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
use actix_web::http::StatusCode;
22
use graphannis::corpusstorage::CountExtra;
3-
use insta::assert_snapshot;
4-
use tempfile::NamedTempFile;
53

64
use crate::tests::{create_auth_header, create_test_app, import_test_corpora};
75

webservice/src/tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use std::{
2-
fmt::Arguments,
32
path::PathBuf,
43
time::{Duration, SystemTime, UNIX_EPOCH},
54
};
@@ -14,7 +13,7 @@ use diesel_migrations::MigrationHarness;
1413
use graphannis::{corpusstorage::ImportFormat, CorpusStorage};
1514
use insta::assert_snapshot;
1615
use jsonwebtoken::EncodingKey;
17-
use log::{Level, Log, Record, RecordBuilder};
16+
use log::{Level, Log, RecordBuilder};
1817
use tempfile::NamedTempFile;
1918

2019
use crate::{

0 commit comments

Comments
 (0)