Skip to content

Commit 7c93790

Browse files
committed
Fixed failing test
1 parent 8a982d8 commit 7c93790

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/test/java/org/wise/portal/presentation/web/controllers/author/project/AuthorAPIControllerTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ public void getAuthorProjectConfig_HasProjectRun_ReturnCanGradeStudentWork() thr
8181
expect(appProperties.getProperty("curriculum_base_www"))
8282
.andReturn("http://localhost:8080/curriculum");
8383
expect(appProperties.getProperty("OPENAI_API_KEY")).andReturn("OPENAPIKEY");
84+
expect(appProperties.getProperty("aws.accessKeyId")).andReturn("ACCESSKEY");
85+
expect(appProperties.getProperty("aws.secretAccessKey")).andReturn("SECRETKEY");
86+
expect(appProperties.getProperty("aws.region")).andReturn("us-west-1");
8487
replay(appProperties);
8588
Map<String, Object> config = authorAPIController.getAuthorProjectConfig(teacherAuth, request,
8689
project1);

0 commit comments

Comments
 (0)