resolved issue with unit test. we could not select a tree object without that object being visible

This commit is contained in:
David Sparer
2017-01-12 11:12:18 -07:00
parent b195d89b76
commit 978d94a2cd

View File

@@ -17,7 +17,10 @@ namespace mRemoteNGTests.Tree
public void Setup()
{
_connectionTreeModel = CreateConnectionTreeModel();
_connectionTree = new ConnectionTree();
_connectionTree = new ConnectionTree
{
PostSetupActions = new IConnectionTreeDelegate[] {new RootNodeExpander()}
};
}
[TearDown]