[Developer] #576 clarify verification user names
This commit is contained in:
@@ -174,6 +174,20 @@ class GuidedFlowTemplateTest {
|
||||
.doesNotContain("SYS.ODCIVARCHAR2LIST('SPRING_BOOT', 'ORDS')");
|
||||
}
|
||||
|
||||
@Test
|
||||
void defaultVerificationUsersUseHumanNamesInsteadOfRoleLikeAgentNames() throws IOException {
|
||||
String seed = Files.readString(Path.of("sql/adb/17_agent_ords_security_local_vpd_setup.sql"));
|
||||
String users = template("users.html");
|
||||
String result = template("fragments/probe-result.html");
|
||||
|
||||
assertThat(seed)
|
||||
.contains("(101, '이에이치알'")
|
||||
.contains("(102, '박파이넨스'")
|
||||
.contains("(103, '김어드민'");
|
||||
assertThat(users).contains("이에이치알").doesNotContain(">agent_hr<");
|
||||
assertThat(result).contains("김어드민").doesNotContain(">agent_all<");
|
||||
}
|
||||
|
||||
@Test
|
||||
void vectorOrdsHandlerReadsBodyStreamOnlyOnce() throws IOException {
|
||||
String sql = Files.readString(Path.of("sql/adb/29_agent_ords_vector_search_ords.sql"));
|
||||
|
||||
Reference in New Issue
Block a user