From 6a97f860fabe822ffbbde15c4fc708a6c4f41ccb Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 17 May 2021 05:45:36 +0300 Subject: Fixed failing tests again - forgot to unwrap --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fdbd2d3..954f1f2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,7 +63,7 @@ pub async fn get_app_with_test_redis(token_endpoint: surf::Url) -> (database::Re let backend = database::RedisStorage::new(redis_instance.uri().to_string()).await.unwrap(); let app = tide::with_state(ApplicationState { token_endpoint, media_endpoint: None, - authorization_endpoint: Url::parse("https://indieauth.com/auth"), + authorization_endpoint: Url::parse("https://indieauth.com/auth").unwrap(), storage: backend.clone(), http_client: surf::Client::new(), }); -- cgit 1.4.1