aboutsummaryrefslogtreecommitdiff
path: root/internal/api/api_integration_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-08-12fix: Honor hide_globally when creating a new feed through the apiGravatar Pontus Jensen Karlsson 1-0/+10
TestGetGlobalEntriesEndpoint was failing because CreateFeed ignored HideGlobally, this fixes that.
2024-08-12feat: API: Allow filtering entries on globally_hiddenGravatar Pontus Jensen Karlsson 1-0/+48
Currently there's no way through the API to mimic the Unread page of the client. This is now possible by filtering on globally_visible=true and status=unread.
2024-04-01api tests: use intSize-agnostic random integersGravatar Thomas J Faughnan Jr 1-2/+1
rand.Intn(math.MaxInt64) causes tests to fail on 32-bit architectures. Use the simpler rand.Int() instead, which still provides plenty of room for generating pseudo-random test usernames.
2024-03-16Rewrite API integration tests without build tagsGravatar Frédéric Guillot 1-0/+2322