Skip to content
Discussion options

You must be logged in to vote

You need to do just call AsyncConnection::begin_test_transaction in your establish_test_connection

The TestCustomizer does nothing else internally.

That written I'm open to accept a PR that adds a similar construct to the pools provided by diesel-async to make this more discoverable.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@feliwir
Comment options

@weiznich
Comment options

@feliwir
Comment options

@weiznich
Comment options

@feliwir
Comment options

Answer selected by feliwir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants