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

Task - 404 error on a GET request to "/functions/fun_a/items" #139

Open
nick-rv opened this issue Nov 16, 2022 · 2 comments
Open

Task - 404 error on a GET request to "/functions/fun_a/items" #139

nick-rv opened this issue Nov 16, 2022 · 2 comments
Assignees
Labels
bug Something isn't working TASK

Comments

@nick-rv
Copy link
Collaborator

nick-rv commented Nov 16, 2022

A GET request on the following route "/functions/fun_a/items" into the mock tests brings a 404 error :
"Caused by: Error: No data read from: postgisftw.fun_a"

@benoitdm-oslandia benoitdm-oslandia changed the title 404 error on a GET request to "/functions/fun_a/items" Task - 404 error on a GET request to "/functions/fun_a/items" Nov 17, 2022
@benoitdm-oslandia benoitdm-oslandia added the bug Something isn't working label Nov 17, 2022
@benoitdm-oslandia benoitdm-oslandia added this to the 04_SPRINT milestone Nov 17, 2022
@benoitdm-oslandia
Copy link
Owner

That's strange indeed! Is there a test to check that?

@nick-rv
Copy link
Collaborator Author

nick-rv commented Nov 17, 2022

The test has not been pushed yet, in order to allow the format handling to be complete.
But it is quite easy to add this test, the route is commented into the TestGetFormatHandlingSuffix unit test from the following file : internal/service/mock_test/handler_get_test.go

@benoitdm-oslandia benoitdm-oslandia removed this from the 04_SPRINT milestone Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working TASK
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants