mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 12:17:24 -04:00 
			
		
		
		
	hide issues from org private repos w/o team assignment (#4034)
This commit is contained in:
		
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							46d19c4676
						
					
				
				
					commit
					0b3ea42847
				
			| @@ -26,8 +26,8 @@ func TestIssues(t *testing.T) { | ||||
| 	Issues(ctx) | ||||
| 	assert.EqualValues(t, http.StatusOK, ctx.Resp.Status()) | ||||
|  | ||||
| 	assert.EqualValues(t, map[int64]int64{1: 1, 2: 1}, ctx.Data["Counts"]) | ||||
| 	assert.EqualValues(t, map[int64]int64{1: 1}, ctx.Data["Counts"]) | ||||
| 	assert.EqualValues(t, true, ctx.Data["IsShowClosed"]) | ||||
| 	assert.Len(t, ctx.Data["Issues"], 1) | ||||
| 	assert.Len(t, ctx.Data["Repos"], 2) | ||||
| 	assert.Len(t, ctx.Data["Repos"], 1) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user