Tests are failing since mockito update
bidoubiwa opened this issue · comments
Since the mockito update, the tests are panicking:
For example when testing test_delete_tasks_with_params_execute
Lines 1072 to 1089 in 6122c78
the outcome using this command:
cargo test test_delete_tasks_with_params_execute
Is as follow:
test tasks::test::test_delete_tasks_with_params_execute ... FAILED
failures:
---- tasks::test::test_delete_tasks_with_params_execute stdout ----
thread 'tasks::test::test_delete_tasks_with_params_execute' panicked at 'cannot execute `LocalPool` executor from within another executor: EnterError', /x/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-executor-0.3.21/src/local_pool.rs:81:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace