Skip to content
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

Add integration tests for GET /v1/skills/requests route #169

Merged
merged 9 commits into from
Nov 27, 2024

Conversation

Shyam-Vishwakarma
Copy link
Contributor

Date: 25/11/2024

Developer Name: Shyam Vishwakarma


Issue Ticket Number

closes: #167

Description

  • Wrote integration test for Get v1/skills/requests
  • Updated test configuration to create schema using Flyway
  • Added custom result matcher for mockMvc responses
  • Added security config for test environment to mock logged in users
  • Updated GetAllSkillsIntegrationTest to use CustomMockUser instead of AuthCookie, as AuthCookie can expire
  • Added spring-security test dependency in pom.xml

Documentation Updated?

  • Yes
  • No

Document: https://docs.google.com/document/d/1ehdIMBfFAz9Ji2eNYm8o2ugWz2LBaxTnTHY_KFprv6s/edit?usp=sharing

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

{EB413AC5-3B85-47E9-B02B-601A25CFEE58}

Test Coverage

Screenshot 1

{F6F01422-82BA-4189-9040-D87D3E370720}

Additional Notes

@iamitprakash iamitprakash merged commit 7e27cc5 into Real-Dev-Squad:develop Nov 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

write integration tests for GET /v1/skills/requests route
2 participants