CoronaTeam / CoronaGame

Software Development Project 2020
3 stars 0 forks source link

User encapsulation #154

Closed TheBlueHawk closed 4 years ago

TheBlueHawk commented 4 years ago

Account class exposes whether it's a Google account, and even provides a getAccount() method to get the Google account. The code relies on the fact that we use Google accounts in the real app and non-Google accounts in tests Real code is aware of the tests We should introduce a "are we in tests" property