remove unused & fix wording

This commit is contained in:
Michael Jerger 2024-05-01 15:23:39 +02:00
commit 715ff0eb7f
3 changed files with 3 additions and 7 deletions

View file

@ -66,7 +66,7 @@ func TestActorIdValidation(t *testing.T) {
sut.Host = "an.other.host"
sut.Port = ""
sut.UnvalidatedInput = "https://an.other.host/api/v1/activitypub/user-id/"
if sut.Validate()[0] != "Field userId should not be empty" {
if sut.Validate()[0] != "userId should not be empty" {
t.Errorf("validation error expected but was: %v\n", sut.Validate())
}