-
Notifications
You must be signed in to change notification settings - Fork 78
chore: api tests #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
chore: api tests #105
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c022aef
chore(api): add testify and testcontainers-go for HTTP-level tests
martian56 5013fac
feat(api): testutil starts a shared Postgres testcontainer and runs m…
martian56 4c63db1
feat(api): testutil TruncateAll for per-test isolation in shared Post…
martian56 a6e2702
feat(api): testutil NewTestServer builds a real gin engine with nil o…
martian56 3345b92
feat(api): testutil LoginAs inserts a session row directly for fast a…
martian56 684d521
feat(api): testutil HTTP helpers (Do, GET/POST/PATCH/DELETE, DecodeJSON)
martian56 267071e
feat(api): testutil factories for users, workspaces, projects, issues…
martian56 bf3f73e
test(api): handler_test.go placeholder for the external test package
martian56 84888fa
test(api): cover /health, /ready, and the unknown-route 404
martian56 f4cfc0f
test(api): cover instance setup-status, setup, settings, and unsplash
martian56 918ee0c
test(api): cover sign-in/up/out, magic-code, password reset, /me, and…
martian56 29163ab
test(api): cover OAuth Initiate redirects and unconfigured-provider 404s
martian56 10e25c4
test(api): cover the public invitation by-token and decline endpoints
martian56 12bb27e
test(api): cover workspace CRUD, members, invitations, and slug-check
martian56 aeba1d3
test(api): cover project CRUD, members, invitations, favorites, and d…
martian56 a086886
test(api): cover workflow state CRUD and non-member 404
martian56 e1d059e
test(api): cover issue label CRUD
martian56 50feac9
test(api): cover issue CRUD, assignees, activities, subscribe, and dr…
martian56 09fb9fe
test(api): cover cycle CRUD plus add/list/remove cycle issues
martian56 53b989f
test(api): cover module CRUD plus add/list/remove module issues
martian56 7691221
test(api): cover view CRUD and the dual-variant favorite routes
martian56 65ad6fb
test(api): cover page CRUD, content, lock, archive, duplicate, and fa…
martian56 cb29dee
test(api): cover issue comment CRUD plus add/remove reactions
martian56 665419f
test(api): cover notification list, unread-count, and mark-read/archi…
martian56 0b8f116
test(api): cover sticky CRUD
martian56 2322efa
test(api): cover quick-link CRUD
martian56 7ddec6b
test(api): cover recent-visit list and record-visit endpoints
martian56 4b64999
test(api): cover favorite-projects listing after favoriting
martian56 b9c5912
test(api): cover upload nil-MinIO 503 and the file-serve auth gate
martian56 998ef15
test(api): cover integrations list, GitHub install/sync auth, and the…
martian56 00e1547
test(api): cover GitHub webhook HMAC validation across both trailing-…
martian56 9ef6255
fix: resolve github warnings
martian56 82e7f1a
Merge branch 'main' of https://github.com/Devlaner/devlane into 103-c…
nazarli-shabnam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.