DDC-2758: [GH-826] Prepare to return StatementMock for nullifying DB write during testing #3503

doctrinebot opened this Issue Oct 23, 2013 · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of intellix:

Url: #826


I'm attempting to mock the EntityManager so when I run unit tests on my Services, I don't want flush() to actually write to the DB.
I've narrowed down my issue to this file and this line not returning a StatementMock as a normal DriverConnection would return a Statement.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-826] was closed:


Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment