diff options
author | Justin Clark-Casey (justincc) | 2011-04-15 01:23:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-04-15 01:23:26 +0100 |
commit | 54e885581989ddfaf525753ede12c4d4d797cba0 (patch) | |
tree | 93ebf52a5eed5d0ce12a7a804b4f4a07d0ee4d77 /OpenSim/Region/Framework/Scenes | |
parent | Remove the mock inventory service for tests and just use the real one all the... (diff) | |
download | opensim-SC_OLD-54e885581989ddfaf525753ede12c4d4d797cba0.zip opensim-SC_OLD-54e885581989ddfaf525753ede12c4d4d797cba0.tar.gz opensim-SC_OLD-54e885581989ddfaf525753ede12c4d4d797cba0.tar.bz2 opensim-SC_OLD-54e885581989ddfaf525753ede12c4d4d797cba0.tar.xz |
remove mock asset service for tests in favour of always using the real one
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs b/OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs index 6b70865..dbf9e0f 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs | |||
@@ -47,7 +47,9 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
47 | [SetUp] | 47 | [SetUp] |
48 | public void Init() | 48 | public void Init() |
49 | { | 49 | { |
50 | m_assetService = new MockAssetService(); | 50 | // FIXME: We don't need a full scene here - it would be enough to set up the asset service. |
51 | Scene scene = SceneSetupHelpers.SetupScene(); | ||
52 | m_assetService = scene.AssetService; | ||
51 | m_uuidGatherer = new UuidGatherer(m_assetService); | 53 | m_uuidGatherer = new UuidGatherer(m_assetService); |
52 | } | 54 | } |
53 | 55 | ||