Skip to content

Commit

Permalink
Update deployment and test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tsviz committed Feb 23, 2024
1 parent d38be03 commit 5a6c4f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployments/spring-app-deployment-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: spring-app-container
image: ghcr.io/octodemo/java-springboot-demo:195
image: ghcr.io/octodemo/java-springboot-demo:197
ports:
- containerPort: 8086
env:
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/net/codejava/JUnit5ExampleTest11.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ void testEnableSearchFeature() {
// print a comment about the value of enableSearchFeature
System.out.println("\n\n");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Expected value of enableSearchFeature: true");
System.out.println("Expected value of enableSearchFeature: false");
System.out.println("Actual value of enableSearchFeature: " + appController.getEnableSearchFeature());
System.out.println("--------------------------------------------------------------------------------");

// assert that the value of enableSearchFeature is true
assertEquals(true, appController.getEnableSearchFeature());
assertEquals(false, appController.getEnableSearchFeature());

System.out.println("\n\nTest11-2 Successful!\n\n");
}
Expand Down

0 comments on commit 5a6c4f4

Please sign in to comment.