mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -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:
		
				
					committed by
					
						 Endi S. Dewata
						Endi S. Dewata
					
				
			
			
				
	
			
			
			
						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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user