isaaccormack / Tabber

Automatically tab guitar licks played into your computer's microphone
https://tabber.ca
1 stars 1 forks source link

Increase integration test coverage for OAuth2 #27

Closed mrvernonliu closed 4 years ago

mrvernonliu commented 4 years ago

Currently OAuth2 integration test coverage is low, there is nothing testing the login functionality. Doing it is kind of a pain, an extra key needs to be added that contains an authorization code that is generated by google. The authorization code needs to be taken from the redirectUrl's query params and then placed inside the tests.

Doing the integration test on the login should basically test all other parts of the file.