diff --git a/src/plugins/workspace/public/components/workspace_detail/workspace_detail.test.tsx b/src/plugins/workspace/public/components/workspace_detail/workspace_detail.test.tsx
index 6c91c98608d5..cc23f3af8ec8 100644
--- a/src/plugins/workspace/public/components/workspace_detail/workspace_detail.test.tsx
+++ b/src/plugins/workspace/public/components/workspace_detail/workspace_detail.test.tsx
@@ -287,7 +287,6 @@ describe('WorkspaceDetail', () => {
description: '',
});
const { getByText } = render(WorkspaceDetailPage({ workspacesService: workspaceService }));
- expect(getByText('')).toBeInTheDocument();
expect(getByText('')).toBeInTheDocument();
expect(alertSpy).toBeCalledTimes(0);
alertSpy.mockRestore();