switch origin

This commit is contained in:
Elio Bischof
2023-08-02 15:11:35 +02:00

View File

@@ -1,25 +1,9 @@
import { stub } from "../support/mock";
const CUSTOM_TEXT = "Hubba Bubba";
const IDP_URL = "https://example.com/idp/url";
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,