mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
Several Unit test fixes. Add a Mock Indexer for Solr. Add a language for primary test Eperson. Do better context cleanup. Improve fail messages with actual errors.
This commit is contained in:
@@ -87,7 +87,7 @@ public class InstallItemTest extends AbstractUnitTest
|
||||
String handle = "1345/567";
|
||||
Collection col = Collection.create(context);
|
||||
WorkspaceItem is = WorkspaceItem.create(context, col, false);
|
||||
|
||||
|
||||
//Test assigning a specified handle to an item
|
||||
// (this handle should not already be used by system, as it doesn't start with "1234567689" prefix)
|
||||
Item result = InstallItem.installItem(context, is, handle);
|
||||
|
Reference in New Issue
Block a user