From b00ed82f40feae1be99e3fbc859d6f84df4b1a39 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 14 Oct 2020 13:13:54 +0300 Subject: [PATCH] BookStoreTestWebContextBuilder: Add statsRefUrl Signed-off-by: Pekka Helenius --- .../bookstore/web/BookStoreTestWebContextBuilder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java b/bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java index 3c4d337..bbd5eb1 100644 --- a/bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java +++ b/bookstore/src/test/java/com/fjordtek/bookstore/web/BookStoreTestWebContextBuilder.java @@ -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"); + }