mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-30 11:08:08 +02:00
bump actix-web to 4.0.0-rc.1
This commit is contained in:
@@ -2,9 +2,9 @@ use std::collections::VecDeque;
|
||||
use std::io;
|
||||
|
||||
use actix::prelude::*;
|
||||
use actix_rt::net::TcpStream;
|
||||
use actix_service::boxed::{self, BoxService};
|
||||
use actix_tls::connect::{ConnectError, ConnectInfo, Connection, ConnectorService};
|
||||
use actix_web::rt::net::TcpStream;
|
||||
use backoff::backoff::Backoff;
|
||||
use backoff::ExponentialBackoff;
|
||||
use log::{error, info, warn};
|
||||
|
@@ -447,7 +447,7 @@ mod test {
|
||||
Ok(HttpResponse::Ok().body(body))
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
#[actix_web::test]
|
||||
async fn test_session_workflow() {
|
||||
// Step 1: GET index
|
||||
// - set-cookie actix-session should NOT be in response (session data is empty)
|
||||
@@ -653,7 +653,7 @@ mod test {
|
||||
);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
#[actix_web::test]
|
||||
async fn test_max_age_session_only() {
|
||||
//
|
||||
// Test that removing max_age results in a session-only cookie
|
||||
|
Reference in New Issue
Block a user