summaryrefslogtreecommitdiff
path: root/internal/api/client/accounts
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-09-09 15:56:58 -0700
committerLibravatar GitHub <noreply@github.com>2024-09-09 15:56:58 -0700
commit540edef0c20dad4ea13d8af091ccf69796b848b6 (patch)
treed53106b4170f571a4472e60d35f9b7e2445269d4 /internal/api/client/accounts
parent[feature/frontend] Add options to include Unlisted posts or hide all posts (#... (diff)
downloadgotosocial-540edef0c20dad4ea13d8af091ccf69796b848b6.tar.xz
[feature] Implement exclusive lists (#3280)
Fixes #2616
Diffstat (limited to 'internal/api/client/accounts')
-rw-r--r--internal/api/client/accounts/lists_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/accounts/lists_test.go b/internal/api/client/accounts/lists_test.go
index 637babc35..95b50b1d3 100644
--- a/internal/api/client/accounts/lists_test.go
+++ b/internal/api/client/accounts/lists_test.go
@@ -89,7 +89,7 @@ func (suite *ListsTestSuite) getLists(targetAccountID string, expectedHTTPStatus
func (suite *ListsTestSuite) TestGetListsHit() {
targetAccount := suite.testAccounts["admin_account"]
- suite.getLists(targetAccount.ID, http.StatusOK, `[{"id":"01H0G8E4Q2J3FE3JDWJVWEDCD1","title":"Cool Ass Posters From This Instance","replies_policy":"followed"}]`)
+ suite.getLists(targetAccount.ID, http.StatusOK, `[{"id":"01H0G8E4Q2J3FE3JDWJVWEDCD1","title":"Cool Ass Posters From This Instance","replies_policy":"followed","exclusive":false}]`)
}
func (suite *ListsTestSuite) TestGetListsNoHit() {