summaryrefslogtreecommitdiff
path: root/internal/api/api_integration_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
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