Exemple #1
0
 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);
 }
Exemple #2
0
 public function setUp()
 {
     parent::setUp();
     require_once __DIR__ . '/table/DewdropTestFruits.php';
     $this->db = $GLOBALS['dewdrop_pimple']['db'];
     $this->table = new \DewdropTest\DewdropTestFruits($this->db);
 }
Exemple #3
0
 public function tearDown()
 {
     parent::tearDown();
     $this->db = null;
 }