Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
FuelPHP + DbUnit: Database Connection
  • Hi!
    I want to test my application using PHPUnit/DbUnit.
    So I tried to pass the database connection created by FuelPHP to PHPUnit, but Database_Connection won't give me the raw connection instance.
    Any ideas how to get this working?
  • HarroHarro
    Accepted Answer
    Calling connection() on the Database_Connection instance would give you the underlying driver (PDO, MySQLi, etc) instance. Or do you mean something else?
  • No, I was just blind. Many thanks!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion