From 14d85597f85b4bb8afabf40668ac882645fa1b68 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 --- 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 ffc4a0481f..ab52b26531 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) } }