mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
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:
parent
bb67eea105
commit
4b2af2570a
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user