updates to ev and webfinger
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jon Lundy
2023-05-29 09:48:20 -06:00
parent 7c4c1521fd
commit 5b9b436125
19 changed files with 559 additions and 57 deletions

View File

@@ -62,14 +62,14 @@ func TestMain(m *testing.M) {
}
}
func TestGetHTTP(t *testing.T) {
func TestE2EGetHTTP(t *testing.T) {
is := is.New(t)
res, err := http.DefaultClient.Get("http://[::1]:61234/.well-known/webfinger")
is.NoErr(err)
is.Equal(res.StatusCode, http.StatusBadRequest)
}
func TestCreateResource(t *testing.T) {
func TestE2ECreateResource(t *testing.T) {
is := is.New(t)
_, priv, err := ed25519.GenerateKey(nil)