-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix prediction-markets tests, I (#1265)
* Test `admin_move_market_to_resolved` with disputed market * Fix formatting * Move court integration test to `integration.rs` * Test that `approve_market` fails in invalid states * Use `ApproveOrigin` instead of `SUDO` * Fix formatting * Use `RejectOrigin` instead of `SUDO` * Use `CloseMarketEarlyOrigin` instead of `SUDO` * Use `CloseOrigin` instead of `SUDO` * Remove `DestroyOrigin` * Use `RequestEditOrigin` to replace `SUDO` * Use `ResolveOrigin` to replace `SUDO` * Fix benchmarks and tests * Remove solved TODO * Add `buy_complete_set` tests * Add missing `close_trusted_market` tests * Add missing tests for `create_market` * Fix naming in `benchmarks.rs` * Apply suggestions from code review Co-authored-by: Harald Heckmann <[email protected]> --------- Co-authored-by: Harald Heckmann <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2d0277b
commit 45701a6
Showing
22 changed files
with
699 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.