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

Deprecate lcdClientMock #1742

Closed
1 of 3 tasks
fedekunze opened this issue Dec 12, 2018 · 3 comments · Fixed by #2761
Closed
1 of 3 tasks

Deprecate lcdClientMock #1742

fedekunze opened this issue Dec 12, 2018 · 3 comments · Fixed by #2761

Comments

@fedekunze
Copy link
Contributor

fedekunze commented Dec 12, 2018

  • the mocked LCDClient supports the demo mode, which is not being used even by Voyager.
  • it takes a lot of development time to copy the same behaviour from Gaia into the lcdClientMock (specially POST requests)
    • use contract tests for that

Scope:

  • replace mocked values used by unit tests for swagger file values
  • Deprecate demo mode
  • Delete lcdClientMock.js
@jbibla
Copy link
Collaborator

jbibla commented Dec 12, 2018

please include a description of why

@fedekunze
Copy link
Contributor Author

the main a reason was bc the mocked LCDClient supports the demo mode, which is not being used even by us. The second reason was bc it takes a lot of development time to copy the same behaviour from Gaia into the lcdClientMock (specially POST requests) and for that we can just use contract tests.

We talked about this on the retro yesterday but please feel free to add a discuss label it you think it needs more sync discussion

@jbibla
Copy link
Collaborator

jbibla commented Dec 13, 2018

thanks for the explanation! fabo mentioned to me in our call yesterday - makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants