Update to Actix 4 #19

Merged
cameron merged 3 commits from feature/update-to-actix-4 into master 2022-03-02 02:32:31 +00:00
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 50e973da1f - Show all commits

View File

@@ -60,7 +60,6 @@ pub async fn login(
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use std::str::from_utf8;
use super::*; use super::*;
use crate::testhelpers::{BodyReader, TestUserDao}; use crate::testhelpers::{BodyReader, TestUserDao};

View File

@@ -133,7 +133,6 @@ mod tests {
use std::fs::File; use std::fs::File;
use super::*; use super::*;
use crate::testhelpers::TypedBodyReader;
mod api { mod api {
use actix_web::{web::Query, HttpResponse}; use actix_web::{web::Query, HttpResponse};
@@ -141,7 +140,7 @@ mod tests {
use super::list_photos; use super::list_photos;
use crate::{ use crate::{
data::{Claims, PhotosResponse, ThumbnailRequest}, data::{Claims, PhotosResponse, ThumbnailRequest},
testhelpers::{BodyReader, TypedBodyReader}, testhelpers::BodyReader,
}; };
use std::fs; use std::fs;