Exemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     PolymorphicRelationLogQuery::create()->deleteAll();
     BookQuery::create()->deleteAll();
     AuthorQuery::create()->deleteAll();
 }
Exemplo n.º 2
0
 protected function tearDown()
 {
     parent::tearDown();
     $cr = new Criteria();
     $cr->add(BookPeer::ID, $this->books, Criteria::IN);
     BookPeer::doDelete($cr);
 }
Exemplo n.º 3
0
 protected function setUp()
 {
     parent::setUp();
     BookstoreDataPopulator::populate();
     $this->sampleLobFiles['tin_drum.gif'] = TESTS_BASE_DIR . '/Fixtures/etc/lob/tin_drum.gif';
     $this->sampleLobFiles['tin_drum.txt'] = TESTS_BASE_DIR . '/Fixtures/etc/lob/tin_drum.txt';
     $this->sampleLobFiles['propel.gif'] = TESTS_BASE_DIR . '/Fixtures/etc/lob/propel.gif';
 }
 protected function setUp()
 {
     parent::setUp();
     $b1 = new BookstoreEmployee();
     $b1->setName('b1');
     $b1->save();
     $b2 = new BookstoreManager();
     $b2->setName('b2');
     $b2->save();
     $b3 = new BookstoreCashier();
     $b3->setName('b3');
     $b3->save();
 }
Exemplo n.º 5
0
 protected function setUp()
 {
     parent::setUp();
     BookstoreDataPopulator::populate();
 }
Exemplo n.º 6
0
 protected function setUp()
 {
     parent::setUp();
 }
 protected function tearDown()
 {
     $this->books = null;
     parent::tearDown();
     Propel::enableInstancePooling();
 }
Exemplo n.º 8
0
 protected function tearDown()
 {
     parent::tearDown();
     Propel::enableInstancePooling();
 }
 protected function setUp()
 {
     $this->markTestSkipped('not used anymore look if all tests are present in Query');
     parent::setUp();
     BookstoreDataPopulator::populate();
 }
 protected function setUp()
 {
     parent::setUp();
     require_once dirname(__FILE__) . '/../../../tools/helpers/bookstore/behavior/TestAuthor.php';
 }