Skip to content

Fix unit tests#181

Merged
wilsonge merged 2 commits into2.0-devfrom
no-die-in-connect
Aug 11, 2019
Merged

Fix unit tests#181
wilsonge merged 2 commits into2.0-devfrom
no-die-in-connect

Conversation

@wilsonge
Copy link
Contributor

@wilsonge wilsonge commented Aug 10, 2019

In some of our unit tests on postgres we're die'ing (which is showing as a test pass). So swap this for a \LogicException in the connected method. Finally in execute add a new extra try/except to catch this exception and throw the documented \Joomla\Database\Exception\ExecutionFailureException

@Hackwar
Copy link
Contributor

Hackwar commented Aug 10, 2019

Together with #180 and #182, this should fix the postgres tests and fix all issues that came up with this.

@wilsonge wilsonge merged commit 3c1f7c0 into 2.0-dev Aug 11, 2019
@wilsonge wilsonge deleted the no-die-in-connect branch August 11, 2019 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants