Skip to content
Snippets Groups Projects

refactor(test): Refactore tests for maintenance, users, and vehicles endpoints

  • Updated the test for adding maintenance to check for additional error messages related to missing JSON body.
  • Modified user registration test to retrieve user ID from the "me" endpoint instead of the registration response.
  • Reintroduced the unauthenticated user test for getting current user and vehicles, ensuring session cookies are cleared before the requests.
  • Enhanced vehicle creation test to accommodate additional error messages for missing fields.

Merge request reports

Pipeline #94822 passed with warnings

Pipeline passed with warnings for aed1d82a on test/patch-errors

Merged by DOITEAU TomDOITEAU Tom 2 months ago (Jun 30, 2025 8:23am UTC)

Merge details

  • Changes merged into with 3fd45a45.
  • Deleted the source branch.

Pipeline #94823 passed with warnings

Pipeline passed with warnings for 3fd45a45 on dev

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading