Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 public function tearDown()
 {
     parent::tearDown();
     $this->db = null;
 }