MatthijsKok / TI2806-Contextproject

GNU Lesser General Public License v3.0
0 stars 0 forks source link

App crashes when the API key is empty #108

Closed RvdK closed 7 years ago

RvdK commented 7 years ago

The app should not shut down when the api key is empty it should give an error

joskuijpers commented 7 years ago

What is the exception thrown?

joskuijpers commented 7 years ago

The issue is that the test fails when the API key in the test is empty, because the session does not create. Workaround is to put the api key in the test.

Will look into a solution.

joskuijpers commented 7 years ago

Okay so the issue with the test is not easily solvable. The api key could be loaded from the environment.xml but only if the test is an Activity: otherwise there is no getResources().

RvdK commented 7 years ago

This no longer happens so i am closing the bug