mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
Fixing infinite loop in UI navigation unit test.
https://fedorahosted.org/freeipa/ticket/1531 It's a fix for regression introduced by previous patch.
This commit is contained in:
parent
24cedc4154
commit
40f9f52a76
@ -45,9 +45,15 @@ test("Testing IPA.navigation.create().", function() {
|
||||
IPA.entities = $.ordered_map();
|
||||
|
||||
IPA.entity_factories.user = function() {
|
||||
var that = IPA.entity({name: 'user',
|
||||
metadata:IPA.metadata.objects.user});
|
||||
that.add_facet(IPA.search_facet({'entity':that}));
|
||||
var that = IPA.entity({
|
||||
name: 'user',
|
||||
metadata:IPA.metadata.objects.user,
|
||||
facets: [
|
||||
{
|
||||
type: 'search'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
that.display = function(container){
|
||||
user_mock_called = true;
|
||||
|
Loading…
Reference in New Issue
Block a user