Skip to content

Commit 0629396

Browse files
Added e2e test
1 parent f6a518b commit 0629396

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.sap.ai.sdk.app.controllers;
2+
3+
import org.junit.jupiter.api.Test;
4+
5+
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
6+
7+
public class PromptRegistryTest {
8+
9+
@Test
10+
void listTemplates() {
11+
var controller = new PromptRegistryController();
12+
var result = controller.listTemplates();
13+
assertThat(result.getCount()).isGreaterThan(0);
14+
}
15+
}

0 commit comments

Comments
 (0)