From 1f9104d96f593fa231bb9bfd0eb92c2f4558cabe Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 10 Oct 2024 14:41:02 +0300 Subject: [PATCH] chore(lint): Fix bug when a token is given public only (cherry picked from commit 14d85597f85b4bb8afabf40668ac882645fa1b68) --- tests/integration/api_user_search_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_user_search_test.go b/tests/integration/api_user_search_test.go index d775a448fa..97c42aa696 100644 --- a/tests/integration/api_user_search_test.go +++ b/tests/integration/api_user_search_test.go @@ -51,7 +51,7 @@ func TestAPIUserSearchLoggedIn(t *testing.T) { for _, user := range results.Data { assert.Contains(t, user.UserName, query) assert.NotEmpty(t, user.Email) - assert.True(t, user.Visibility == "public") + assert.Equal(t, "public", user.Visibility) } }