mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Fix tests
This commit is contained in:
@@ -775,7 +775,7 @@ public class Context implements AutoCloseable {
|
||||
* @return The current mode
|
||||
*/
|
||||
public Mode getCurrentMode() {
|
||||
return mode;
|
||||
return mode != null ? mode : Mode.READ_WRITE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user