Browse files

Test output fix

  • Loading branch information...
1 parent 9104e8d commit dbf0c149822eee5bbc48d5ef0c29155025a6a31c @ginatrapani ginatrapani committed Oct 10, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −3 tests/WebTestOfUpgradeDatabase.php
  2. +0 −1 webapp/_lib/model/class.BackupMySQLDAO.php
View
3 tests/WebTestOfUpgradeDatabase.php
@@ -148,9 +148,6 @@ public function testFailAndRerunMigration() {
$stmt = $this->pdo->query("select * from " . $this->table_prefix . "completed_migrations");
$data = $stmt->fetchAll();
$this->assertEqual(count($data), $TOTAL_MIGRATION_COUNT);
- if ($data['latest_migration_file'] && file_exists($data['latest_migration_file'])) {
- unlink( $data['latest_migration_file'] );
- }
}
/**
View
1 webapp/_lib/model/class.BackupMySQLDAO.php
@@ -97,7 +97,6 @@ public function import($zipfile) {
$table_name = $value;
if(! isset( $imported_tables[ $table_name ] ) ) {
$stmt = $this->execute("DROP TABLE IF EXISTS $table_name");
- error_log(" Backup import dropping table: $table_name");
}
}
}

0 comments on commit dbf0c14

Please sign in to comment.