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/IndirectTransferTests.cs | |
parent | Let's try giving Common a default constructor instead of the workaround (diff) | |
download | opensim-SC-eb837defdf7d9f260603fe400b3a482258605f43.zip opensim-SC-eb837defdf7d9f260603fe400b3a482258605f43.tar.gz opensim-SC-eb837defdf7d9f260603fe400b3a482258605f43.tar.bz2 opensim-SC-eb837defdf7d9f260603fe400b3a482258605f43.tar.xz |
Revert "Let's try giving Common a default constructor instead of the workaround"
This reverts commit 8b6557e377f7bac1bdb38f3e6dd22c797417d09c.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Permissions/IndirectTransferTests.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Tests/Permissions/IndirectTransferTests.cs b/OpenSim/Tests/Permissions/IndirectTransferTests.cs index 66a228a..fb96b8b 100644 --- a/OpenSim/Tests/Permissions/IndirectTransferTests.cs +++ b/OpenSim/Tests/Permissions/IndirectTransferTests.cs | |||
@@ -46,6 +46,12 @@ namespace OpenSim.Tests.Permissions | |||
46 | [SetUp] | 46 | [SetUp] |
47 | public void SetUp() | 47 | public void SetUp() |
48 | { | 48 | { |
49 | // In case we're dealing with some older version of nunit | ||
50 | if (Common.TheInstance == null) | ||
51 | { | ||
52 | Common.TheInstance = new Common(); | ||
53 | Common.TheInstance.SetUp(); | ||
54 | } | ||
49 | Common.TheInstance.DeleteObjectsFolders(); | 55 | Common.TheInstance.DeleteObjectsFolders(); |
50 | } | 56 | } |
51 | 57 | ||