From 6e1e3934c32ce7155c781ed7d8fcae67e0640785 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:11:51 +0200 Subject: [PATCH] Typos --- clientapi/clientapi_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clientapi/clientapi_test.go b/clientapi/clientapi_test.go index 783eecde1..92f406dbc 100644 --- a/clientapi/clientapi_test.go +++ b/clientapi/clientapi_test.go @@ -54,7 +54,7 @@ func TestSetDisplayname(t *testing.T) { wantDisplayName: changeDisplayName, }, { - name: "existing user is now allowed to change own if name is empty", + name: "existing user is not allowed to change own name if name is empty", user: bob, wantOK: false, wantDisplayName: "", @@ -160,13 +160,13 @@ func TestSetAvatarURL(t *testing.T) { user: notLocalUser, }, { - name: "existing user is allowed to change own name", + name: "existing user is allowed to change own avatar", user: alice, wantOK: true, avatar_url: changeDisplayName, }, { - name: "existing user is now allowed to change own if name is empty", + name: "existing user is not allowed to change own avatar if avatar is empty", user: bob, wantOK: false, avatar_url: "",