From 978d94a2cd2edb06cccf6fcec910040dade9425c Mon Sep 17 00:00:00 2001 From: David Sparer Date: Thu, 12 Jan 2017 11:12:18 -0700 Subject: [PATCH] resolved issue with unit test. we could not select a tree object without that object being visible --- mRemoteNGTests/Tree/ConnectionTreeTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mRemoteNGTests/Tree/ConnectionTreeTests.cs b/mRemoteNGTests/Tree/ConnectionTreeTests.cs index ecf8818a5..be6f30204 100644 --- a/mRemoteNGTests/Tree/ConnectionTreeTests.cs +++ b/mRemoteNGTests/Tree/ConnectionTreeTests.cs @@ -17,7 +17,10 @@ namespace mRemoteNGTests.Tree public void Setup() { _connectionTreeModel = CreateConnectionTreeModel(); - _connectionTree = new ConnectionTree(); + _connectionTree = new ConnectionTree + { + PostSetupActions = new IConnectionTreeDelegate[] {new RootNodeExpander()} + }; } [TearDown]