[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


 Description   

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

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

Message:

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.



 Comments   
Comment by Benjamin Eberlei [ 05/Sep/12 ]

A related Github Pull-Request [GH-194] was closed
https://github.com/doctrine/dbal/pull/194

Comment by Benjamin Eberlei [ 05/Sep/12 ]

Fixed

Generated at Tue Oct 21 13:36:30 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.