diff options
author | Diva Canto | 2017-08-14 16:55:50 -0700 |
---|---|---|
committer | Diva Canto | 2017-08-14 16:55:50 -0700 |
commit | eb837defdf7d9f260603fe400b3a482258605f43 (patch) | |
tree | eb2634652064cb94b0fd33ec820eb05b74e49519 /OpenSim/Tests/Permissions/DirectTransferTests.cs | |
parent | Let's try giving Common a default constructor instead of the workaround (diff) | |
download | opensim-SC_OLD-eb837defdf7d9f260603fe400b3a482258605f43.zip opensim-SC_OLD-eb837defdf7d9f260603fe400b3a482258605f43.tar.gz opensim-SC_OLD-eb837defdf7d9f260603fe400b3a482258605f43.tar.bz2 opensim-SC_OLD-eb837defdf7d9f260603fe400b3a482258605f43.tar.xz |
Revert "Let's try giving Common a default constructor instead of the workaround"
This reverts commit 8b6557e377f7bac1bdb38f3e6dd22c797417d09c.
Diffstat (limited to 'OpenSim/Tests/Permissions/DirectTransferTests.cs')
-rw-r--r-- | OpenSim/Tests/Permissions/DirectTransferTests.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Tests/Permissions/DirectTransferTests.cs b/OpenSim/Tests/Permissions/DirectTransferTests.cs index c68bbdf..0f251db 100644 --- a/OpenSim/Tests/Permissions/DirectTransferTests.cs +++ b/OpenSim/Tests/Permissions/DirectTransferTests.cs | |||
@@ -44,6 +44,13 @@ namespace OpenSim.Tests.Permissions | |||
44 | [SetUp] | 44 | [SetUp] |
45 | public void SetUp() | 45 | public void SetUp() |
46 | { | 46 | { |
47 | // In case we're dealing with some older version of nunit | ||
48 | if (Common.TheInstance == null) | ||
49 | { | ||
50 | Common.TheInstance = new Common(); | ||
51 | Common.TheInstance.SetUp(); | ||
52 | } | ||
53 | |||
47 | Common.TheInstance.DeleteObjectsFolders(); | 54 | Common.TheInstance.DeleteObjectsFolders(); |
48 | } | 55 | } |
49 | 56 | ||