File tree Expand file tree Collapse file tree
crates/zitadel/src/axum/introspection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ mod tests {
368368 use std:: ops:: Add ;
369369 use std:: sync:: Arc ;
370370
371- async fn app_witch_cache ( cache : impl IntrospectionCache + ' static ) -> Router {
371+ async fn app_with_cache ( cache : impl IntrospectionCache + ' static ) -> Router {
372372 let introspection_state = IntrospectionStateBuilder :: new ( ZITADEL_URL )
373373 . with_jwt_profile ( Application :: load_from_json ( APPLICATION ) . unwrap ( ) )
374374 . with_introspection_cache ( cache)
@@ -391,7 +391,7 @@ mod tests {
391391 #[ tokio:: test]
392392 async fn guard_uses_cached_response ( ) {
393393 let cache = Arc :: new ( InMemoryIntrospectionCache :: default ( ) ) ;
394- let app = app_witch_cache ( cache. clone ( ) ) . await ;
394+ let app = app_with_cache ( cache. clone ( ) ) . await ;
395395
396396 let mut res = ZitadelIntrospectionResponse :: new (
397397 true ,
@@ -428,7 +428,7 @@ mod tests {
428428 #[ tokio:: test]
429429 async fn guard_caches_response ( ) {
430430 let cache = Arc :: new ( InMemoryIntrospectionCache :: default ( ) ) ;
431- let app = app_witch_cache ( cache. clone ( ) ) . await ;
431+ let app = app_with_cache ( cache. clone ( ) ) . await ;
432432
433433 let response = app
434434 . oneshot (
You can’t perform that action at this time.
0 commit comments