|
@ -23,6 +23,7 @@ import com.fjordtek.bookstore.web.BookStoreTestWebContextBuilder; |
|
|
public class ApirefTest extends BookStoreTestWebContextBuilder { |
|
|
public class ApirefTest extends BookStoreTestWebContextBuilder { |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
|
|
|
@WithUserDetails("user") |
|
|
public void testA_ApirefLinkNotPresentAsNormalUser() throws Exception { |
|
|
public void testA_ApirefLinkNotPresentAsNormalUser() throws Exception { |
|
|
assertThat( |
|
|
assertThat( |
|
|
pageContentsList().contains("href=\"" + env.getProperty("page.url.apiref") ) |
|
|
pageContentsList().contains("href=\"" + env.getProperty("page.url.apiref") ) |
|
|