mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-30 10:47:08 -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.entities = $.ordered_map();
|
||||||
|
|
||||||
IPA.entity_factories.user = function() {
|
IPA.entity_factories.user = function() {
|
||||||
var that = IPA.entity({name: 'user',
|
var that = IPA.entity({
|
||||||
metadata:IPA.metadata.objects.user});
|
name: 'user',
|
||||||
that.add_facet(IPA.search_facet({'entity':that}));
|
metadata:IPA.metadata.objects.user,
|
||||||
|
facets: [
|
||||||
|
{
|
||||||
|
type: 'search'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
that.display = function(container){
|
that.display = function(container){
|
||||||
user_mock_called = true;
|
user_mock_called = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user