Skip to content

Commit 7933961

Browse files
make Deployment Name optional and set modelid with default as requested in review
1 parent b74843e commit 7933961

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎java/samples/semantickernel-spring-starter/src/test/java/com/microsoft/semantickernel/azureopenai/SemanticKernelAutoConfigurationTest.java‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
@SpringBootTest(classes = SemanticKernelAutoConfiguration.class)
1717
public class SemanticKernelAutoConfigurationTest {
1818

19-
@Autowired Kernel kernel;
19+
@Autowired
20+
Kernel kernel;
2021

2122
@Test
2223
public void testSemanticKernelAutoConfig() {
2324
ApplicationContextRunner runner = new ApplicationContextRunner();
2425
runner.withPropertyValues(
25-
// @formatter:off
26-
"client.azureopenai.key=TEST_KEY",
27-
"client.azureopenai.endpoint=TEST_ENDPOINT",
28-
"client.azureopenai.deploymentname=TEST_DEPLOYMENT_NAME"
29-
// @formatter:on
30-
);
26+
// @formatter:off
27+
"client.azureopenai.key=TEST_KEY",
28+
"client.azureopenai.endpoint=TEST_ENDPOINT"
29+
// @formatter:on
30+
);
3131
runner.withConfiguration(AutoConfigurations.of(SemanticKernelAutoConfiguration.class));
3232
runner.run(
33-
context -> {
34-
assertNotNull(kernel);
35-
});
33+
context -> {
34+
assertNotNull(kernel);
35+
});
3636
}
3737
}

0 commit comments

Comments
 (0)