Fix and expand JDatabaseQuery tests. #1737

Merged
merged 1 commit into from Dec 22, 2012

2 participants

@eddieajau

Fixed mocking of the quote method in TestMockDatabaseDriver to allow for
an array of strings to be quoted.
Fixed a bug in JDatabaseQuery->quote that escaped strings before sending
them to the JDatabaseDriver->quote method ($escape argument was not
being honoured).
Added the escape method to TestMockDatabaseDriver.
Added covers to and improved code coverage of the JDatabaseQuery class.

@eddieajau eddieajau Fix and expand JDatabaseQuery tests.
Fixed mocking of the quote method in TestMockDatabaseDriver to allow for
an array of strings to be quoted.
Fixed a bug in JDatabaseQuery->quote that escaped strings before sending
them to the JDatabaseDriver->quote method ($escape argument was not
being honoured).
Added the escape method to TestMockDatabaseDriver.
Added covers to and improved code coverage of the JDatabaseQuery class.
6e36186
@pasamio pasamio merged commit 6315bff into joomla:staging Dec 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment