about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-05-17 05:45:36 +0300
committerVika <vika@fireburn.ru>2021-05-17 05:45:36 +0300
commit6a97f860fabe822ffbbde15c4fc708a6c4f41ccb (patch)
tree4db641abddc524389b642e261294263c9c189371
parenta8f99bb1097865ac992711a715f5d4e76f3206a2 (diff)
downloadkittybox-6a97f860fabe822ffbbde15c4fc708a6c4f41ccb.tar.zst
Fixed failing tests again - forgot to unwrap
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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(),
     });