Commit 0045a7ac authored by Marco Pivetta's avatar Marco Pivetta

PHP 5.3 compatibility (broken test case array backets)

parent 75ac2f6c
...@@ -242,7 +242,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -242,7 +242,7 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase
public function testFetchNoResult() public function testFetchNoResult()
{ {
self::assertFalse( self::assertFalse(
$this->_conn->executeQuery('SELECT test_int FROM fetch_table WHERE test_int = ?', [-1])->fetch() $this->_conn->executeQuery('SELECT test_int FROM fetch_table WHERE test_int = ?', array(-1))->fetch()
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment