diff --git a/src/containers/ReviewModal/ReviewErrors/LockErrors.jsx b/src/containers/ReviewModal/ReviewErrors/LockErrors.jsx index 080a2fac..5a3b9854 100644 --- a/src/containers/ReviewModal/ReviewErrors/LockErrors.jsx +++ b/src/containers/ReviewModal/ReviewErrors/LockErrors.jsx @@ -16,7 +16,7 @@ import ReviewError from './ReviewError'; */ export class LockErrors extends React.Component { get errorProp() { - if (this.props.errorStatus === ErrorStatuses.forbidden) { + if (this.props.errorStatus === ErrorStatuses.conflict) { return { heading: messages.errorLockContestedHeading, message: messages.errorLockContested, diff --git a/src/containers/ReviewModal/ReviewErrors/LockErrors.test.jsx b/src/containers/ReviewModal/ReviewErrors/LockErrors.test.jsx index 87004c1c..cf92f365 100644 --- a/src/containers/ReviewModal/ReviewErrors/LockErrors.test.jsx +++ b/src/containers/ReviewModal/ReviewErrors/LockErrors.test.jsx @@ -41,7 +41,7 @@ describe('LockErrors component', () => { expect(el.snapshot).toMatchSnapshot(); }); test('snapshot: error with conflicted lock', () => { - el = shallow(); + el = shallow(); expect(el.snapshot).toMatchSnapshot(); }); });