Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCarsons committed Mar 7, 2024
1 parent 1b5b393 commit a47d2ec
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions backend/src/tests/db.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
#[cfg(test)]
mod tests {
use std::fs::{self};
use std::fs;

use crate::tests::test_db;
use diesel::{
dsl::count, query_dsl::methods::SelectDsl, ExpressionMethods, QueryDsl, RunQueryDsl,
};

use crate::{
model::{
cart::{JsonCart, NewCart},
item::{InputItem, NewItem},
order::{JsonOrder, NewOrder},
},
tests::test_db,
use model::{
cart::{JsonCart, NewCart},
item::{InputItem, NewItem},
order::{JsonOrder, NewOrder},
};

#[test]
Expand Down

0 comments on commit a47d2ec

Please sign in to comment.