This commit is contained in:
peintnermax
2023-08-02 15:09:36 +02:00
parent 24e57e992b
commit 096f696a9a

View File

@@ -1,25 +1,9 @@
import { stub } from "../support/mock";
const CUSTOM_TEXT = "Hubba Bubba";
const IDP_URL = "https://google.com";
describe("register idps", () => {
beforeEach(() => {
stub(
"zitadel.settings.v2alpha.SettingsService",
"GetActiveIdentityProviders",
{
data: {
identityProviders: [
{
id: "123",
name: CUSTOM_TEXT,
type: 10,
},
],
},
}
);
stub("zitadel.user.v2alpha.UserService", "StartIdentityProviderFlow", {
data: {
authUrl: IDP_URL,