diff --git a/src/__tests__/engine/classic/__snapshots__/sign_up_pane.test.jsx.snap b/src/__tests__/engine/classic/__snapshots__/sign_up_pane.test.jsx.snap
index 6c2c15ed9..a24a007d7 100644
--- a/src/__tests__/engine/classic/__snapshots__/sign_up_pane.test.jsx.snap
+++ b/src/__tests__/engine/classic/__snapshots__/sign_up_pane.test.jsx.snap
@@ -214,6 +214,7 @@ exports[`SignUpPane shows the Captcha pane 1`] = `
/>
mockComponent('email_pane'));
jest.mock('field/password/password_pane', () => mockComponent('password_pane'));
@@ -8,7 +9,7 @@ jest.mock('field/username/username_pane', () => mockComponent('username_pane'));
jest.mock('field/custom_input', () => mockComponent('custom_input'));
jest.mock('core/index', () => ({
- captcha: jest.fn()
+ signupCaptcha: jest.fn()
}));
jest.mock('engine/classic', () => ({
@@ -38,6 +39,7 @@ describe('SignUpPane', () => {
str: (...keys) => keys.join(','),
html: (...keys) => keys.join(',')
},
+ flow: Flow.SIGNUP,
model: 'model',
emailInputPlaceholder: 'emailInputPlaceholder',
onlyEmail: true,
@@ -58,7 +60,7 @@ describe('SignUpPane', () => {
});
it('shows the Captcha pane', () => {
- require('core/index').captcha.mockReturnValue({
+ require('core/index').signupCaptcha.mockReturnValue({
get() {
return true;
}
@@ -72,7 +74,7 @@ describe('SignUpPane', () => {
});
it('hides the Captcha pane for SSO connections', () => {
- require('core/index').captcha.mockReturnValue({
+ require('core/index').signupCaptcha.mockReturnValue({
get() {
return true;
}
@@ -86,7 +88,7 @@ describe('SignUpPane', () => {
});
it('shows the Captcha pane for SSO (ADFS) connections', () => {
- require('core/index').captcha.mockReturnValue({
+ require('core/index').signupCaptcha.mockReturnValue({
get() {
return true;
}