コード例 #1
0
ファイル: FieldTest.php プロジェクト: bravadomizzou/dewdrop
 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);
 }
コード例 #2
0
ファイル: TableTest.php プロジェクト: bravadomizzou/dewdrop
 public function setUp()
 {
     parent::setUp();
     require_once __DIR__ . '/table/DewdropTestFruits.php';
     $this->db = $GLOBALS['dewdrop_pimple']['db'];
     $this->table = new \DewdropTest\DewdropTestFruits($this->db);
 }
コード例 #3
0
ファイル: AdapterTest.php プロジェクト: deltasystems/dewdrop
 public function tearDown()
 {
     parent::tearDown();
     $this->db = null;
 }