Skip to content

Commit

Permalink
chore(lint): clean up..
Browse files Browse the repository at this point in the history
  • Loading branch information
ncrmro committed Jun 17, 2020
1 parent dfb7cf6 commit 0354771
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion tests/common/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use fancy_regex::Regex;
use futures::executor::block_on;
use src::core::db::{query, Connect, Connection, PgConnection, PgPool, Pool};
use src::core::settings::Settings;
use std::fs;
use std::process::Command;
use std::sync::Once;

Expand Down
2 changes: 0 additions & 2 deletions tests/todos/api.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
use super::super::common;
use actix_web::http;
use actix_web::test;
use src::core::factory::ModelFactory;
use src::todo::factory;
use src::todo::model;
use src::user::routes::AuthenticationResponse;

#[actix_rt::test]
async fn test_get() {
Expand Down
2 changes: 1 addition & 1 deletion tests/users/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async fn test_auth_viewer_create() {
.to_request();

// Test user already exists
let mut res = test::call_service(&mut srv, req).await;
let res = test::call_service(&mut srv, req).await;

assert_eq!(res.status(), http::StatusCode::CONFLICT);
common::teardown(db_conn, test_name).await;
Expand Down

0 comments on commit 0354771

Please sign in to comment.