mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 09:54:00 +00:00
cleanup
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user