Skip to content

Commit 3185466

Browse files
committed
Fix test resources path
1 parent 12ec1e8 commit 3185466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/com/sap/ai/sdk/core/AiCoreServiceKeyAccessorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void testValidDotenv() {
2525
@Test
2626
void testMissingClientIdDotenv() {
2727
var dotenv =
28-
Dotenv.configure().directory("./src/test/resources").filename("missingClientId.testenv");
28+
Dotenv.configure().directory("src/test/resources").filename("missingClientId.testenv");
2929
var accessor = new AiCoreServiceKeyAccessor(dotenv);
3030
assertThatThrownBy(accessor::getServiceBindings)
3131
.isInstanceOf(ServiceBindingAccessException.class)
@@ -42,7 +42,7 @@ void testMissingDotenv() {
4242

4343
@Test
4444
void testMalformedDotenv() {
45-
var dotenv = Dotenv.configure().directory("./src/test/resources").filename("malformed.testenv");
45+
var dotenv = Dotenv.configure().directory("src/test/resources").filename("malformed.testenv");
4646

4747
// Dotenv should be loaded lazily and not throw before actually loading the file
4848
var accessor = new AiCoreServiceKeyAccessor(dotenv);

0 commit comments

Comments
 (0)