Skip to content

Commit

Permalink
Test output fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Oct 10, 2011
1 parent 9104e8d commit dbf0c14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tests/WebTestOfUpgradeDatabase.php
Expand Up @@ -148,9 +148,6 @@ public function testFailAndRerunMigration() {
$stmt = $this->pdo->query("select * from " . $this->table_prefix . "completed_migrations"); $stmt = $this->pdo->query("select * from " . $this->table_prefix . "completed_migrations");
$data = $stmt->fetchAll(); $data = $stmt->fetchAll();
$this->assertEqual(count($data), $TOTAL_MIGRATION_COUNT); $this->assertEqual(count($data), $TOTAL_MIGRATION_COUNT);
if ($data['latest_migration_file'] && file_exists($data['latest_migration_file'])) {
unlink( $data['latest_migration_file'] );
}
} }


/** /**
Expand Down
1 change: 0 additions & 1 deletion webapp/_lib/model/class.BackupMySQLDAO.php
Expand Up @@ -97,7 +97,6 @@ public function import($zipfile) {
$table_name = $value; $table_name = $value;
if(! isset( $imported_tables[ $table_name ] ) ) { if(! isset( $imported_tables[ $table_name ] ) ) {
$stmt = $this->execute("DROP TABLE IF EXISTS $table_name"); $stmt = $this->execute("DROP TABLE IF EXISTS $table_name");
error_log(" Backup import dropping table: $table_name");
} }
} }
} }
Expand Down

0 comments on commit dbf0c14

Please sign in to comment.