File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
app/backend/src/test/java/com/microsoft/openai/samples/rag Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 41
41
*/
42
42
@ ActiveProfiles ("test" )
43
43
@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT )
44
- class AskAPITests {
44
+ class AskAPITest {
45
45
46
46
@ Autowired
47
47
private TestRestTemplate restTemplate ;
Original file line number Diff line number Diff line change 1
1
package com .microsoft .openai .samples .rag ;
2
2
3
- import com .microsoft .openai .samples .rag .ask .controller .AskRequest ;
4
- import com .microsoft .openai .samples .rag .ask .controller .AskResponse ;
5
- import com .microsoft .openai .samples .rag .chat .controller .ChatRequest ;
6
- import com .microsoft .openai .samples .rag .chat .controller .ChatResponse ;
7
- import com .microsoft .openai .samples .rag .chat .controller .ChatTurn ;
8
3
import org .junit .jupiter .api .Test ;
9
4
import org .springframework .beans .factory .annotation .Autowired ;
10
5
import org .springframework .boot .test .context .SpringBootTest ;
11
6
import org .springframework .boot .test .web .client .TestRestTemplate ;
12
- import org .springframework .http .HttpEntity ;
13
- import org .springframework .http .HttpStatus ;
14
- import org .springframework .http .ResponseEntity ;
15
7
import org .springframework .test .context .ActiveProfiles ;
16
8
17
9
import java .net .URI ;
18
- import java .util .ArrayList ;
19
- import java .util .List ;
20
10
21
11
import static org .junit .jupiter .api .Assertions .assertEquals ;
22
12
23
13
@ ActiveProfiles ("test" )
24
14
@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT )
25
- public class ChatAPITests {
15
+ public class ChatAPITest {
26
16
27
17
@ Autowired
28
18
private TestRestTemplate restTemplate ;
You can’t perform that action at this time.
0 commit comments