Browse Source

Add missing 'user' into an Apiref test

master
Pekka Helenius 4 years ago
parent
commit
39c26b0ef5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bookstore/src/test/java/com/fjordtek/bookstore/web/webform/endpoint/ApirefTest.java

+ 1
- 0
bookstore/src/test/java/com/fjordtek/bookstore/web/webform/endpoint/ApirefTest.java View File

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


Loading…
Cancel
Save