Browse Source

BookStoreTestWebContextBuilder: Add statsRefUrl

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius 4 years ago
parent
commit
b00ed82f40
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java

+ 5
- 0
bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java View File

@ -59,6 +59,8 @@ public class BookStoreTestWebContextBuilder {
protected String bookJsonListUrl;
protected String bookJsonUrl;
protected String statsRefUrl;
@Autowired
protected Environment env;
@ -98,6 +100,9 @@ public class BookStoreTestWebContextBuilder {
bookJsonUrl =
env.getProperty("page.url.json") + env.getProperty("page.url.json.book") + "/" + hashId;
statsRefUrl =
env.getProperty("page.url.dev") + env.getProperty("page.url.dev.statsref");
}


Loading…
Cancel
Save