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

tests: write unit tests for all endpoints #110

Open
yusdacra opened this issue Dec 10, 2021 · 2 comments
Open

tests: write unit tests for all endpoints #110

yusdacra opened this issue Dec 10, 2021 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yusdacra
Copy link
Member

todo: fill all endpoints here as todos

@yusdacra yusdacra added help wanted Extra attention is needed good first issue Good for newcomers labels Dec 10, 2021
@yusdacra
Copy link
Member Author

First we need to add an in memory DB (sled with temporary on should be good). We also need to write a macro that will setuo the db, setuo mock transport and return a client that one can use to perform the requests.

@yusdacra yusdacra pinned this issue Dec 10, 2021
@yusdacra
Copy link
Member Author

This is already done and we now have a unit_test macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant