mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Adjust test for #1391 ... such that OrganizationTreeNode has at least one db column as part of insert (for PG)
This commit is contained in:
@@ -13,8 +13,11 @@ public class TestTreeOrganisations extends BaseTestCase {
|
||||
public void test() {
|
||||
|
||||
OrganizationTreeNode treeNode = new OrganizationTreeNode();
|
||||
OrganizationNode node = new OrganizationUnit();
|
||||
|
||||
treeNode.setName("tree");
|
||||
|
||||
OrganizationUnit node = new OrganizationUnit();
|
||||
node.setTitle("node");
|
||||
|
||||
treeNode.setOrganizationNode(node);
|
||||
Ebean.save(treeNode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user