[DBAL-334] [GH-194] Small test fixes for PostgreSQL Created: 29/Aug/12  Updated: 05/Sep/12  Resolved: 05/Sep/12

Status: Resolved
Project: Doctrine DBAL
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


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

Url: https://github.com/doctrine/dbal/pull/194


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
  • 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.

Comment by Benjamin Eberlei [ 05/Sep/12 ]

A related Github Pull-Request [GH-194] was closed

Comment by Benjamin Eberlei [ 05/Sep/12 ]


Generated at Wed Nov 25 22:33:13 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.