mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 13:25:40 +00:00 
			
		
		
		
	Remove and fix some TODO entries (#188)
This commit is contained in:
		| @@ -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()); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user