Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Add HTTP server tests #14

Open
masih opened this issue Mar 3, 2023 · 0 comments
Open

Add HTTP server tests #14

masih opened this issue Mar 3, 2023 · 0 comments

Comments

@masih
Copy link
Member

masih commented Mar 3, 2023

Add tests that assert behaviour of HTTP server mux, more specifically the following:

  • POST requests to write data indeed result in record in db
  • invalid POST requests to write data is rejected as bad request
  • GET request to check readiness returns OK
  • All other methods are rejected as method not allowed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant