mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 14:25:49 +03: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.Equal(t, http.StatusNoContent, resp.StatusCode)
|
||||
|
||||
federationHost := unittest.AssertExistsAndLoadBean(t, &forgefed.FederationHost{ID: 1})
|
||||
assert.Equal(t, "127.0.0.1", federationHost.HostFqdn)
|
||||
unittest.AssertExistsAndLoadBean(t, &forgefed.FederationHost{HostFqdn: "127.0.0.1"})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue