Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 74d3d04

Browse filesBrowse files
committed
manage current user in tests
1 parent 0ba7c4f commit 74d3d04
Copy full SHA for 74d3d04

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎pgml-dashboard/src/main.rs

Copy file name to clipboardExpand all lines: pgml-dashboard/src/main.rs
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.