Skip to content

Commit

Permalink
Fix config issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmg13 committed Mar 18, 2024
1 parent 5f91fbd commit 69659ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Running tests
run: mvn test --file pom.xml
run: mvn test
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class FilmServiceImpl implements FilmService {

// mocked data for testing purposes
@ConfigProperty(name = "film.language")
@ConfigProperty(name = "film.language", defaultValue = "English")
private String language;

private final List<Film> initialFilms = List.of(
Expand Down
6 changes: 6 additions & 0 deletions src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# can be overridden on boot
# properties value can be set by profile
%dev.film.language=English
%prod.film.language=English
%dev.quarkus.log.category."io.quarkus".level=DEBUG
%prod.quarkus.log.category."io.quarkus".level=INFO

0 comments on commit 69659ae

Please sign in to comment.