Ejemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     $tableRows = TableRowsProvider::provideTableRows();
     $rm = self::createDefaultRecordManager();
     self::$recordGenerator = self::saveTableRows($rm, $tableRows);
 }
Ejemplo n.º 2
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     $databases = self::getDatabases();
     foreach ($databases as $database) {
         $rm = self::createRecordManager($database);
         $userIds = self::saveUserRecords($rm);
         self::$userIds[$rm->getConnection()->getDsn()] = $userIds;
     }
 }
Ejemplo n.º 3
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$targetDirectory = __DIR__ . '/../TestSuite/' . self::MODEL_PATH;
 }