|
|
@ -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 |
|
|
|