semiotic-ai / timeline-aggregation-protocol

A fast, efficient and trust-minimized unidirectional micro-payments system.
Apache License 2.0
14 stars 3 forks source link

Test API Versioning Depricated Versions #99

Open ColePBryan opened 1 year ago

ColePBryan commented 1 year ago

Currently not tested because the static array is empty.

          One approach to testing while this is empty could be to add a wrapper functions that returns TAP_RPC_API_VERSIONS_DEPRECATED. Then you could use something like mocktopus to mock that function before you call functions like `check_api_version_deprecation`.

_Originally posted by @ColePBryan in https://github.com/semiotic-ai/timeline_aggregation_protocol/pull/96#discussion_r1218351898_