From 4030378aa730b517c5b1546f37948828515815f4 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 1 Apr 2026 09:35:40 -0700 Subject: [PATCH] fix: update KeyLifecycleSettings test to match updated info message text --- .../common_components/KeyLifecycleSettings.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/common_components/KeyLifecycleSettings.test.tsx b/ui/litellm-dashboard/src/components/common_components/KeyLifecycleSettings.test.tsx index c00e8008358..8c4f3e04584 100644 --- a/ui/litellm-dashboard/src/components/common_components/KeyLifecycleSettings.test.tsx +++ b/ui/litellm-dashboard/src/components/common_components/KeyLifecycleSettings.test.tsx @@ -328,7 +328,7 @@ describe("KeyLifecycleSettings", () => { expect( screen.getByText( - "When rotation occurs, you'll receive a notification with the new key. The old key will be deactivated after a brief grace period." + "When rotation occurs, a notification with the new key will be sent to the configured email (or the key owner if none set). The old key will be deactivated after a brief grace period." ) ).toBeInTheDocument(); }); @@ -338,7 +338,7 @@ describe("KeyLifecycleSettings", () => { expect( screen.queryByText( - "When rotation occurs, you'll receive a notification with the new key. The old key will be deactivated after a brief grace period." + "When rotation occurs, a notification with the new key will be sent to the configured email (or the key owner if none set). The old key will be deactivated after a brief grace period." ) ).not.toBeInTheDocument(); });