ZF-7669: Zend_Test_DbAdapter supportsParameters() returns false causing exception when testing code that uses update()

Description

Zend_Test_DbAdapter supportsParameters() always returns false making it impossible to test code that uses the update() method with bind parameters.


$dbAdapter = new Zend_Test_DbAdapter();
$dbAdapter->update('table', array('field' => 'value'), 'table_id = 5');

The above code will throw the exception: {color:red} Zend_Db_Adapter_Exception: Zend_Test_DbAdapter doesn't support positional or named binding{color}

I think it would make more sense to have supportsParameters() return true.

Comments

Fixed and merged into 1.9 release branch.