From ebc407db853c241602f93017ef5faeaeeed272b0 Mon Sep 17 00:00:00 2001 From: David Kwon Date: Wed, 18 Oct 2023 11:52:55 -0400 Subject: [PATCH] Edit test to include the unprovided data and config Signed-off-by: David Kwon --- .../backend-client/__tests__/kubernetesNamespaceApi.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard-frontend/src/services/backend-client/__tests__/kubernetesNamespaceApi.spec.tsx b/packages/dashboard-frontend/src/services/backend-client/__tests__/kubernetesNamespaceApi.spec.tsx index 2420f8435..88125d433 100644 --- a/packages/dashboard-frontend/src/services/backend-client/__tests__/kubernetesNamespaceApi.spec.tsx +++ b/packages/dashboard-frontend/src/services/backend-client/__tests__/kubernetesNamespaceApi.spec.tsx @@ -53,7 +53,7 @@ describe('Kubernetes namespace API', () => { await provisionKubernetesNamespace(); expect(mockGet).not.toBeCalled(); - expect(mockPost).toBeCalledWith('/api/kubernetes/namespace/provision'); + expect(mockPost).toBeCalledWith('/api/kubernetes/namespace/provision', undefined, undefined); }); it('should return a list of namespaces', async () => {