Commit 13a1a619 authored by Jonathan.Wage's avatar Jonathan.Wage

Fixes for unit tests being broken.

parent b447f6ca
......@@ -1081,12 +1081,15 @@ class Doctrine_Export extends Doctrine_Connection_Module
$table = $plugin->getOption('pluginTable');
// Make sure plugin has a valid table
if ($table instanceof Doctrine_Table) {
$data = $table->getExportableFormat();
$query = $this->conn->export->createTableSql($data['tableName'], $data['columns'], $data['options']);
$sql = array_merge($sql, (array) $query);
}
}
return $sql;
}
......
......@@ -24,6 +24,4 @@ if ($action == 'server') {
$query = new Doctrine_Resource_Query();
$users = $query->from('User u, u.Phonenumber p, u.Address a, u.Book b, b.Author a')->execute();
print_r($users);
}
\ No newline at end of file
---
Test:
inheritance:
extends: User
keyField: otype
keyValue: 1
Account:
tableName: account
className: Account
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment