Skip to content

Commit

Permalink
[fix] unit test failure fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramachandran Nellaiyappan committed Mar 10, 2024
1 parent 9a531fb commit 55df557
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.github.nramc.dev.journey.api.web.resources.mvc.home;

import com.github.nramc.dev.journey.api.config.ApplicationProperties;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.web.servlet.MockMvc;
Expand All @@ -12,6 +14,7 @@

@WebMvcTest(HomeResource.class)
@ActiveProfiles({"prod", "test"})
@EnableConfigurationProperties({ApplicationProperties.class})
class HomeResourceTest {
@Autowired
private MockMvc mvc;
Expand Down

0 comments on commit 55df557

Please sign in to comment.