public function setUp() { parent::setUp(); $this->db = $GLOBALS['dewdrop_pimple']['db']; require_once __DIR__ . '/table-classes/Animals.php'; $this->table = new \DewdropTest\Db\ManyToMany\Animals($this->db); }
public function setUp() { parent::setUp(); require_once __DIR__ . '/table/DewdropTestFruits.php'; $this->db = $GLOBALS['dewdrop_pimple']['db']; $this->table = new \DewdropTest\DewdropTestFruits($this->db); }
public function tearDown() { parent::tearDown(); $this->db = null; }