2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 11:15:26 +00:00

Remove and fix some TODO entries (#188)

This commit is contained in:
Oliver
2022-07-20 14:18:07 +10:00
committed by GitHub
parent 42d69365b8
commit 19ad3153e4
6 changed files with 18 additions and 28 deletions

View File

@ -79,8 +79,7 @@ void main() {
bool result = await api.connectToServer();
assert(!result);
// TODO: Test the the right 'error message' is returned
// TODO: The request above should throw a 'SockeException'
debugContains("SocketException at");
// Test incorrect login details
profile.server = "http://localhost:12345";
@ -91,7 +90,7 @@ void main() {
await api.connectToServer();
assert(!result);
// TODO: Test that the connection attempt above throws an authentication error
debugContains("Token request failed");
assert(!api.checkConnection());