annon_api v0.16.2 Annon.Requests.Sandbox
A plug to allow concurrent, transactional acceptance tests with Annon.Requests module.
Link to this section Summary
Functions
Returns metadata to associate with the session to allow the endpoint to acces the database connection checked out by the test process
Link to this section Functions
Link to this function
call(conn, sandbox)
Link to this function
init(opts \\ [])
Link to this function
metadata_for(repo_or_repos, pid)
metadata_for(Ecto.Repo.t() | [Ecto.Repo.t()], pid()) :: map()
Returns metadata to associate with the session to allow the endpoint to acces the database connection checked out by the test process.