Replies: 1 comment 2 replies
-
Hey @bluemoon, sorry for the delay. This problem bother me for quite some time, I think we need to make our mock utility cloneable. I'll make a PR later. Btw... do you have any updates on this? How you tackle it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using axum as my web server and I would like to write tests that use a transaction (I cannot use mock because it is not
Clone
). axum requires thatExtension
isClone
. I'm wondering what the best way to deal with this is?I assume
DatabaseTransaction
is also not clone because of the same issue in #438Beta Was this translation helpful? Give feedback.
All reactions