mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-30 00:14:58 +02:00
deprecate App::data
and App::data_factory
(#2271)
This commit is contained in:
@ -1028,6 +1028,8 @@ async fn test_normalize() {
|
||||
assert!(response.status().is_success());
|
||||
}
|
||||
|
||||
// allow deprecated App::data
|
||||
#[allow(deprecated)]
|
||||
#[actix_rt::test]
|
||||
async fn test_data_drop() {
|
||||
use std::sync::{
|
||||
|
Reference in New Issue
Block a user