Skip to content

Commit 74d3d04

Browse files
committed
manage current user in tests
1 parent 0ba7c4f commit 74d3d04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pgml-dashboard/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ mod test {
200200

201201
rocket::build()
202202
.manage(clusters)
203+
.manage(pgml_dashboard::CurrentUser::new())
203204
.manage(markdown::SearchIndex::open().unwrap())
204205
.mount("/", rocket::routes![index, error])
205206
.mount("/dashboard/static", FileServer::from(&config::static_dir()))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy