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

Fix test cases that, while checking the 404 status code, make requests to non-existent urls rather than non-existent resources. #5938

Merged
merged 3 commits into from
Jun 23, 2023

Conversation

Aadesh-Baral
Copy link
Contributor

closes #5919

…s to non-existent urls rather than non-existent resources.
--------------------------------
The endpoint that returns organisation campaign never returns 404 if organisation is not found. So this commit comments out the test case that checks if 404 is returned while trying to get non existent organisation campaigns. We need to make a fix to the OrganisationsCampaignsAPI and uncomment this test case. But for now it's left commented.
…4 is returned while trying to delete tasks of non existent project.
@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Aadesh-Baral Aadesh-Baral marked this pull request as ready for review June 23, 2023 05:44
@Aadesh-Baral Aadesh-Baral merged commit 6d8c5bb into develop Jun 23, 2023
8 checks passed
@Aadesh-Baral Aadesh-Baral deleted the fix/5919-404-test-cases branch June 23, 2023 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect Test Cases Checking for 404 Status Code
1 participant