Skip to content
Snippets Groups Projects
Unverified Commit 6984a161 authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XWIKI-22782: Only save modified xobjects

* fix test
parent 0549a826
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
import javax.inject.Named;
import javax.inject.Provider;
......@@ -161,7 +162,7 @@ public class XWikiHibernateStoreTest
@AfterComponent
void afterComponent()
{
when(this.hibernateConfiguration.getOptimizedXObjectClasses()).thenReturn(null);
when(this.hibernateConfiguration.getOptimizedXObjectClasses()).thenReturn(Optional.empty());
}
@BeforeEach
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment