File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/test/java/org/elasticsearch/action/bulk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -353,9 +353,9 @@ public void setupAction() {
353353 when (state .getMetadata ()).thenReturn (metadata );
354354 when (state .metadata ()).thenReturn (metadata );
355355 when (state .blocks ()).thenReturn (mock (ClusterBlocks .class ));
356- when (state .custom (eq (ProjectsStateRegistry .TYPE ), any ())).thenReturn (ProjectsStateRegistry . builder ()
357- . putProjectSettings (projectId , Settings .builder ().build ())
358- . build () );
356+ when (state .custom (eq (ProjectsStateRegistry .TYPE ), any ())).thenReturn (
357+ ProjectsStateRegistry . builder (). putProjectSettings (projectId , Settings .builder ().build ()). build ( )
358+ );
359359 when (clusterService .state ()).thenReturn (state );
360360 doAnswer (invocation -> {
361361 ClusterChangedEvent event = mock (ClusterChangedEvent .class );
You can’t perform that action at this time.
0 commit comments