Surreal-Net / Surreal.Net

Database driver for SurrealDB available for REST and RPC sessions.
Apache License 2.0
57 stars 7 forks source link

Fixed failing root auth test #102

Closed Du-z closed 2 years ago

Du-z commented 2 years ago

Fixed the root auth test that started to fail in the nightly. the response change to it returns NONE. I removed the Asserts on the returned data as what it returns is not useful anyway.

Added tests for when Auth fails. Often this will result in a transport error, I added a TryGetAnyError() for when you want to check for either a standard or transport error.