|
23 | 23 | import static org.mockito.Mockito.mock; |
24 | 24 | import static org.mockito.Mockito.when; |
25 | 25 |
|
| 26 | +import jakarta.ws.rs.core.Response; |
26 | 27 | import java.io.IOException; |
27 | 28 | import java.nio.file.Files; |
28 | 29 | import java.nio.file.Path; |
@@ -511,7 +512,7 @@ public void testBasicUserWorkflow() throws Exception { |
511 | 512 |
|
512 | 513 | // Download ZIP |
513 | 514 | when(mockReq.getContentStreams()).thenReturn(null); |
514 | | - jakarta.ws.rs.core.Response downloadResponse = schemaDesignerAPI.downloadConfig(configSet); |
| 515 | + Response downloadResponse = schemaDesignerAPI.downloadConfig(configSet); |
515 | 516 | assertNotNull(downloadResponse); |
516 | 517 | assertEquals(200, downloadResponse.getStatus()); |
517 | 518 | assertTrue( |
@@ -747,8 +748,7 @@ public void testQueryReturnsErrorDetailsOnIndexingFailure() throws Exception { |
747 | 748 | // Prep the schema and analyze sample docs so the temp collection and stored docs exist |
748 | 749 | schemaDesignerAPI.prepNewSchema(configSet, null); |
749 | 750 | ContentStreamBase.StringStream stream = |
750 | | - new ContentStreamBase.StringStream( |
751 | | - "[{\"id\":\"doc1\",\"title\":\"test doc\"}]", JSON_MIME); |
| 751 | + new ContentStreamBase.StringStream("[{\"id\":\"doc1\",\"title\":\"test doc\"}]", JSON_MIME); |
752 | 752 | ModifiableSolrParams reqParams = new ModifiableSolrParams(); |
753 | 753 | reqParams.set(CONFIG_SET_PARAM, configSet); |
754 | 754 | when(mockReq.getParams()).thenReturn(reqParams); |
|
0 commit comments