From a0d40fd040310abb854d597ea531a06a66ab4f87 Mon Sep 17 00:00:00 2001 From: Christian Vogt Date: Thu, 26 Sep 2024 17:22:22 -0400 Subject: [PATCH] update interceptOdh DELETE modelRegistryRoleBindings return type (#3264) --- .../src/__tests__/cypress/cypress/support/commands/odh.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts b/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts index 10a9918dcf..dca61083ba 100644 --- a/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts +++ b/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts @@ -1,4 +1,4 @@ -import type { K8sResourceListResult } from '@openshift/dynamic-plugin-sdk-utils'; +import type { K8sResourceListResult, K8sStatus } from '@openshift/dynamic-plugin-sdk-utils'; import type { GenericStaticResponse, RouteHandlerController } from 'cypress/types/net-stubbing'; import type { BaseMetricCreationResponse, BaseMetricListResponse } from '~/api'; import type { @@ -637,7 +637,7 @@ declare global { (( type: 'DELETE /api/modelRegistryRoleBindings/:name', options: { path: { name: string } }, - response: OdhResponse, + response: OdhResponse, ) => Cypress.Chainable) & (( type: 'POST /api/modelRegistryRoleBindings',