Stop usage of "IPA.messages" in Web UI "utils" tests

IPA doesn't provide "messages" anymore.
But actually ones are no needed for these tests.

Fixes: https://pagure.io/freeipa/issue/7559
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Stanislav Levin 2018-07-11 12:43:35 +03:00 committed by Rob Crittenden
parent bb67eea105
commit 4b2af2570a

View File

@ -29,26 +29,7 @@ define([
var old;
QUnit.module('utils',{
beforeEach: function() {
old = IPA.messages;
IPA.messages = {
widget: {
validation: {
integer: "",
decimal: "",
min_value: "",
max_value: "",
pattern_errmsg: ""
}
}
};
},
afterEach: function() {
IPA.messages = old;
}
});
QUnit.module('utils');
QUnit.test('Testing metadata validator', function(assert) {