Skip to content

Commit 6692e1d

Browse files
tomerssprudel
andauthored
fix: correct typo (#609)
Co-authored-by: Hannes Herrmann <hannes.herrmann@eigenbasis.de>
1 parent 1fc5172 commit 6692e1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/zitadel/src/axum/introspection

crates/zitadel/src/axum/introspection/user.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)