ioki-mobility / kmp-passenger-api

Kotlin Multiplatform ioki Passenger API
MIT License
1 stars 1 forks source link

Add tests for mapSuccess and mapApiError #26

Closed vhontar closed 2 months ago

vhontar commented 2 months ago

22

Followed by: https://github.com/ioki-mobility/kmp-passenger-api/pull/21

  1. Added tests for mapSuccess and mapApiError.
  2. Removed runCatching and use nullable ApiErrorBody?