Commit df8d8f6d authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

fix client tests

parent 9717f7ee
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ export default {
            url: null,
            messageText: null,
            messageVariant: null,
            headerWelcome: _l("Welcome to Galaxy, please sign in"),
            headerWelcome: _l("Welcome to Galaxy, please log in"),
            labelNameAddress: _l("Public Name or Email Address"),
            labelPassword: _l("Password"),
            confirmURL: urlParams.has("confirm") && urlParams.get("confirm") == "true",
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@
                <span v-else>
                    <b-button class="d-block mt-3" @click="submitOIDCLogin(idp)">
                        <i :class="oidc_idps[idp]" />
                        Sign in with
                        Log in with
                        {{ idp_info['alias'] || (idp.charAt(0).toUpperCase() + idp.slice(1)) }}
                    </b-button>
                </span>
+0 −2
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ jest.mock("app/singleton");
const mockGalaxy = {
    config: {
        allow_user_creation: true,
        disable_internal_login: false,
        enable_oidc: true,
        mailing_join_addr: "mailing_join_addr",
        prefer_custos_login: true,
@@ -44,7 +43,6 @@ describe("Login", () => {
        expect(attributes.redirect).toBe("redirect_url");
        expect(attributes.allowusercreation).toBe("true");
        expect(attributes.sessioncsrftoken).toBe("session_csrf_token");
        expect(attributes.disable_internal_login).toBe("false");
        expect(attributes.enableoidc).toBe("true");
        expect(attributes.mailingjoinaddr).toBe("mailing_join_addr");
        expect(attributes.prefercustoslogin).toBe("true");