Commit 930c9fe3 authored by James Addison's avatar James Addison
Browse files

Update test snapshot expectations

parent 307009d5
......@@ -172,6 +172,11 @@ exports[`components/AdminConsole should generate the routes 1`] = `
path="/authentication/gitlab"
render={[Function]}
/>
<Route
key="phabricator"
path="/phabricator"
render={[Function]}
/>
<Route
key="plugins/plugin_management"
path="/plugins/plugin_management"
......
......@@ -602,18 +602,18 @@ exports[`components/AdminSidebar Plugins should match snapshot 1`] = `
}
/>
<AdminSidebarSection
key="16"
name="phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
key="12"
name="phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
}
/>
/>
</AdminSidebarCategory>
<AdminSidebarCategory
icon="fa-plug"
......@@ -1233,8 +1233,8 @@ exports[`components/AdminSidebar should match snapshot 1`] = `
}
/>
<AdminSidebarSection
key="16"
name="authentication/phabricator"
key="12"
name="phabricator"
parentLink=""
subsection={false}
title={
......@@ -1864,18 +1864,18 @@ exports[`components/AdminSidebar should match snapshot, not prevent the console
}
/>
<AdminSidebarSection
key="16"
name="authentication/phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
}
/>
key="12"
name="phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
}
/>
</AdminSidebarCategory>
<AdminSidebarCategory
icon="fa-plug"
......@@ -2495,18 +2495,18 @@ exports[`components/AdminSidebar should match snapshot, render plugins without a
}
/>
<AdminSidebarSection
key="16"
name="authentication/phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
}
/>
key="12"
name="phabricator"
parentLink=""
subsection={false}
title={
<FormattedMessage
defaultMessage="Phabricator"
id="admin.sidebar.phabricator"
values={Object {}}
/>
}
/>
</AdminSidebarCategory>
<AdminSidebarCategory
icon="fa-plug"
......@@ -3270,7 +3270,7 @@ exports[`components/AdminSidebar should match snapshot, with license (with all f
}
/>
<AdminSidebarSection
key="12"
key="13"
name="authentication/oauth"
parentLink=""
subsection={false}
......@@ -3283,7 +3283,7 @@ exports[`components/AdminSidebar should match snapshot, with license (with all f
}
/>
<AdminSidebarSection
key="13"
key="14"
name="authentication/guest_access"
parentLink=""
subsection={false}
......@@ -4046,7 +4046,7 @@ exports[`components/AdminSidebar should match snapshot, with license (without an
}
/>
<AdminSidebarSection
key="12"
key="13"
name="authentication/oauth"
parentLink=""
subsection={false}
......@@ -4059,7 +4059,7 @@ exports[`components/AdminSidebar should match snapshot, with license (without an
}
/>
<AdminSidebarSection
key="13"
key="14"
name="authentication/guest_access"
parentLink=""
subsection={false}
......
......@@ -147,6 +147,21 @@ exports[`components/error_page/ErrorMessage should match snapshot, oauth_missing
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="For {link} please make sure you followed the setup instructions."
id="error.oauth_missing_code.phabricator"
values={
Object {
"link": <ErrorLink
defaultMessage="Phabricator"
messageId="error.oauth_missing_code.phabricator.link"
url="https://docs.mattermost.com/deployment/sso-phabricator.html"
/>,
}
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="If you reviewed the above and are still having trouble with configuration, you may post in our {link} where we'll be happy to help with issues during setup."
......
......@@ -170,6 +170,24 @@ exports[`components/SignupController should match snapshot for all signup option
</span>
</span>
</a>
<a
className="btn btn-custom-login btn--full phabricator"
href="/oauth/phabricator/signup"
key="phabricator"
>
<span>
<span
className="icon"
/>
<span>
<FormattedMessage
defaultMessage="Phabricator Single Sign-On"
id="signup.phabricator"
values={Object {}}
/>
</span>
</span>
</a>
</div>
<span
className="color--light"
......@@ -278,6 +296,24 @@ exports[`components/SignupController should match snapshot for all signup option
</span>
</span>
</a>
<a
className="btn btn-custom-login btn--full phabricator"
href="/oauth/phabricator/signup"
key="phabricator"
>
<span>
<span
className="icon"
/>
<span>
<FormattedMessage
defaultMessage="Phabricator Single Sign-On"
id="signup.phabricator"
values={Object {}}
/>
</span>
</span>
</a>
<a
className="btn btn-custom-login btn--full google"
href="/oauth/google/signup"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment