-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock DbErr #1241
Mock DbErr #1241
Conversation
@@ -116,4 +116,4 @@ runtime-tokio-rustls = [ | |||
"sea-query-binder?/runtime-tokio-rustls", | |||
"runtime-tokio", | |||
] | |||
tests-cfg = [] | |||
tests-cfg = ["serde/derive"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for
cargo test --lib --features=tests-cfg,with-json -- mock
@robot-head does this work for you? |
Looks good to me! Great job, thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a smart way to avoid breaking existing public API :)
Yeah honestly impressed, a much better solution than I proposed, learning here! |
Feeling flattered. |
Resolves #1235