Polkadex-Substrate / polkadexTEE-worker

Polkadex Off-chain Orderbook
Apache License 2.0
10 stars 1 forks source link

Tests for Channel Storage #280

Closed arrudagates closed 2 years ago

arrudagates commented 2 years ago

This PR implements tests for Channel Storage by creating a separate mock of the channel storage, this is necessary because other tests depend on the Channel Storage. Closes #246

arrudagates commented 2 years ago

Would moving the mock functions and the mock lazy_static to inside the tests module be better? Edit: Well that wouldn't work because we need the internal function to have access to both lazy_statics

simonsso commented 2 years ago

outdated