mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-30 00:14:58 +02:00
migrate integration testing to new crate (#2112)
This commit is contained in:
@ -32,7 +32,7 @@ fn bench_async_burst(c: &mut Criterion) {
|
||||
let rt = actix_rt::System::new();
|
||||
|
||||
let srv = rt.block_on(async {
|
||||
test::start(|| {
|
||||
actix_test::start(|| {
|
||||
App::new()
|
||||
.service(web::resource("/").route(web::to(|| HttpResponse::Ok().body(STR))))
|
||||
})
|
||||
|
Reference in New Issue
Block a user