Small test fixes for PostgreSQL #194

Merged
merged 5 commits into from Sep 5, 2012

Projects

None yet

3 participants

@posulliv

When running the test suite against a clean PostgreSQL install on a 64-bit system I hit 2 issues:

  • dropDatabase calls fail unless a database is manually created before running the test suite.
  • TypeConversionTest::testIdempotentDataConversion fails expecting bigint type to be converted to a string. PostgreSQL seems to detect 32 vs 64 bit systems and casts correctly for bigint types.

This small patch allows the test suite to run successfully for me against clean MySQL & PostgreSQL installs.

@travisbot

This pull request passes (merged ae5ae2c into 24ec194).

@travisbot

This pull request passes (merged ae5ae2c into 24ec194).

@beberlei beberlei merged commit ad1cacb into doctrine:master Sep 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment