|  |  |  | @ -67,19 +67,19 @@ public abstract class OrganizationUnitRepository_Tests<TStartupModule> : AbpIden | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     [Fact] | 
			
		
	
		
			
				
					|  |  |  |  |     public async Task GetListByRoleAsync() | 
			
		
	
		
			
				
					|  |  |  |  |     public async Task GetListByRoleIdAsync() | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         var ous = await _organizationUnitRepository.GetListByRoleAsync(_testData.RoleManagerId); | 
			
		
	
		
			
				
					|  |  |  |  |         var ous = await _organizationUnitRepository.GetListByRoleIdAsync(_testData.RoleManagerId); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.Count.ShouldBe(2); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.ShouldContain(ou => ou.DisplayName == "OU111"); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.ShouldContain(ou => ou.DisplayName == "OU222"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         ous = await _organizationUnitRepository.GetListByRoleAsync(_testData.RoleModeratorId); | 
			
		
	
		
			
				
					|  |  |  |  |         ous = await _organizationUnitRepository.GetListByRoleIdAsync(_testData.RoleModeratorId); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.Count.ShouldBe(2); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.ShouldContain(ou => ou.DisplayName == "OU111"); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.ShouldContain(ou => ou.DisplayName == "OU222"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         ous = await _organizationUnitRepository.GetListByRoleAsync(_testData.RoleSaleId); | 
			
		
	
		
			
				
					|  |  |  |  |         ous = await _organizationUnitRepository.GetListByRoleIdAsync(_testData.RoleSaleId); | 
			
		
	
		
			
				
					|  |  |  |  |         ous.Count.ShouldBe(0); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |