Add correct payment processor messages.
(facepalm)
This commit is contained in:
@@ -210,7 +210,7 @@ define([
|
||||
var view = createView({processors: []});
|
||||
expect(view.errorModel.get('shown')).toBe(true);
|
||||
expect(view.errorModel.get('errorTitle')).toEqual(
|
||||
"We're currently experiencing technical problems."
|
||||
'All payment options are currently unavailable.'
|
||||
);
|
||||
expect(view.errorModel.get('errorMsg')).toEqual(
|
||||
'Try the transaction again in a few minutes.'
|
||||
|
||||
@@ -108,7 +108,7 @@ var edx = edx || {};
|
||||
if (processors.length === 0) {
|
||||
// No payment processors are enabled at the moment, so show an error message
|
||||
this.errorModel.set({
|
||||
errorTitle: gettext("We're currently experiencing technical problems."),
|
||||
errorTitle: gettext('All payment options are currently unavailable.'),
|
||||
errorMsg: gettext('Try the transaction again in a few minutes.'),
|
||||
shown: true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user