diff --git a/bookstore/src/test/java/com/fjordtek/bookstore/web/dev/BookDevControllerTest.java b/bookstore/src/test/java/com/fjordtek/bookstore/web/dev/BookDevControllerTest.java index 0bef035..51b527e 100644 --- a/bookstore/src/test/java/com/fjordtek/bookstore/web/dev/BookDevControllerTest.java +++ b/bookstore/src/test/java/com/fjordtek/bookstore/web/dev/BookDevControllerTest.java @@ -8,6 +8,7 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit4.SpringRunner; import com.fjordtek.bookstore.web.BookDevController; @@ -21,6 +22,9 @@ import com.fjordtek.bookstore.web.BookDevController; @RunWith(SpringRunner.class) @SpringBootTest +@ActiveProfiles( + profiles = { "dev" } + ) public class BookDevControllerTest { @Autowired