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 not found workflow response #435

Merged
merged 3 commits into from
Sep 22, 2022

Conversation

jackschofield23
Copy link
Contributor

@jackschofield23 jackschofield23 commented Sep 21, 2022

Signed-off-by: Jack Schofield jack.schofield@answerdigital.com

Description

Fixes #434

makes the not found response a problem details object

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • All tests passed locally.
  • Documentation comments included/updated.

@jackschofield23 jackschofield23 marked this pull request as ready for review September 21, 2022 14:10
@RemakingEden
Copy link
Member

Needs integration tests

Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
… content

Signed-off-by: RemakingEden <joss.sparkes@gmail.com>
Copy link
Member

@RemakingEden RemakingEden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2022

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 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@RemakingEden RemakingEden merged commit 787f1c6 into develop Sep 22, 2022
@RemakingEden RemakingEden deleted the jschofield/fix-not-found-response branch September 22, 2022 09:32
jackschofield23 added a commit that referenced this pull request Sep 22, 2022
* fix not found workflow response

Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>

* fix test

Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>

* Changed error assertion to look for basic layout of errors as well as content

Signed-off-by: RemakingEden <joss.sparkes@gmail.com>

Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
Signed-off-by: RemakingEden <joss.sparkes@gmail.com>
Co-authored-by: RemakingEden <joss.sparkes@gmail.com>
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
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.

Strange response when workflow non-existent ID is updated
2 participants