1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-07-01 20:25:09 +02:00

prepare redis release 0.10.0-beta.1

This commit is contained in:
Rob Ede
2021-04-02 11:38:27 +01:00
parent 0ba14f786e
commit 7ab2b62810
4 changed files with 14 additions and 10 deletions

View File

@ -382,7 +382,7 @@ mod test {
use super::*;
use actix_session::Session;
use actix_web::{
middleware, test, web,
middleware, web,
web::{get, post, resource},
App, HttpResponse, Result,
};
@ -483,7 +483,7 @@ mod test {
// - set-cookie actix-session will be in response (session cookie #3)
// - response should be: {"counter": 0, "user_id": None}
let srv = test::start(|| {
let srv = actix_test::start(|| {
App::new()
.wrap(
RedisSession::new("127.0.0.1:6379", &[0; 32])
@ -680,7 +680,7 @@ mod test {
//
// Test that removing max_age results in a session-only cookie
//
let srv = test::start(|| {
let srv = actix_test::start(|| {
App::new()
.wrap(
RedisSession::new("127.0.0.1:6379", &[0; 32])