DB tests are enabled for Travis and fixed to be passing #320

merged 13 commits into from Apr 3, 2014

4 participants


This is a summarizing PR for #261 #272 #273 #274 where you can find more detailed description of individual changes.

@froschdesign froschdesign added this to the 1.12.6 milestone Apr 3, 2014
mhujer and others added some commits Jan 3, 2014
@mhujer mhujer More tests run on Travis - enabled MySQL, PostgreSQL, SQLite, Memcach…
@mhujer mhujer Fixed docblock
(cherry picked from commit a4d723e)
@mhujer mhujer #261: SQLite does not need different tests since 5.3
(cherry picked from commit f770905)
@mhujer mhujer #261: Table is cleared completely to prevent Sqlite "PRIMARY KEY must…
… be unique" error

(cherry picked from commit 9cd8315)
@mhujer mhujer #261: SQLite test fixed: testAdapterOptionFetchMode
(cherry picked from commit be28b74)
@mhujer mhujer #261: SQLite test fixed: testAdapterAlternateStatement
(cherry picked from commit 544f701)
@OndraM OndraM Drop test tables only if exists, to prevent errors on clean database
(cherry picked from commit 56b225f)
@OndraM OndraM Define NULL in test seed using Zend_Db_Expr, so it won't get quoted
(cherry picked from commit 5f0dc97)
@OndraM OndraM Get current locale properly
(cherry picked from commit 39539aa)
@OndraM OndraM Remove redundant from() causing errors on postgres
(cherry picked from commit a7e2eb0)
@OndraM OndraM Do empty-PK detection before we try to obtain nextSequenceId, so it w…
…orks properly also for the values considered empty

(cherry picked from commit 0d79c0e)
@OndraM OndraM Properly remove previously created row with PK 0 to not fail on uniqu…
…e PK constrains

(cherry picked from commit 03cbdca)

@OndraM OndraM Provide table and PK name to make test compatible with RDBMS using se…

(cherry picked from commit d452916)
@mhujer mhujer changed the title from DB tests are enabled for Travis and fixed to be passing [Work-In-Progress] to DB tests are enabled for Travis and fixed to be passing Apr 3, 2014

@akrabat @froschdesign it's ready-for-review

@froschdesign froschdesign merged commit 6fb5c4b into zendframework:master Apr 3, 2014

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
@mhujer mhujer deleted the mhujer:db-tests branch Apr 3, 2014
Zend Framework member

@mhujer & @OndraM
Thanks! 👍

Zend Framework member

Yeah, Great work!


I'm glad to have this merged :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment