Skip Menu |

This queue is for tickets about the DBD-Mock CPAN distribution.

Report information
The Basics
Id: 25892
Status: resolved
Priority: 0/
Queue: DBD-Mock

People
Owner: stevan.little [...] gmail.com
Requestors: TEEJAY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.34
Fixed in: (no value)



Subject: documented attribute mock_records not implemented
The documentation says : "mock_records An arrayref of arrayrefs representing the records the mock statement was stocked with." Unfortunately this doesn't work because it's not recognised so I get the "I don't know how to retrieve statement attribute 'mock_records'" error. I'd really rather like to use this attribute in a class I'm using for testing using DBD::Mock - it makes debugging considerably easier if I can check results have been provided before trying to do stuff.
I have fixed this and added a test, this will be in the next release of DBD::Mock (1.35) which will be uploaded today. - Stevan