mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-11-04 00:11:04 +00:00 
			
		
		
		
	Do not relay on ID start at 1
This commit is contained in:
		
					parent
					
						
							
								57a9729094
							
						
					
				
			
			
				commit
				
					
						08fe47d5c8
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -142,8 +142,7 @@ func TestActivityPubRepositoryInboxValid(t *testing.T) {
 | 
				
			||||||
		assert.NoError(t, err)
 | 
							assert.NoError(t, err)
 | 
				
			||||||
		assert.Equal(t, http.StatusNoContent, resp.StatusCode)
 | 
							assert.Equal(t, http.StatusNoContent, resp.StatusCode)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		federationHost := unittest.AssertExistsAndLoadBean(t, &forgefed.FederationHost{ID: 1})
 | 
							unittest.AssertExistsAndLoadBean(t, &forgefed.FederationHost{HostFqdn: "127.0.0.1"})
 | 
				
			||||||
		assert.Equal(t, "127.0.0.1", federationHost.HostFqdn)
 | 
					 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue