diff --git a/src/main/resources/static/html/fault.html b/src/main/resources/static/html/fault.html index 9b40875cab61c2f2cc4cdf5a5d426c1ce194ece6..78994fc158fd9df30dce5d70b41a5944f5c312c2 100644 --- a/src/main/resources/static/html/fault.html +++ b/src/main/resources/static/html/fault.html @@ -8,7 +8,7 @@ <body> <main> <p > - You wyl + You do not have sufficient access rights, the page will be redirected to the login page within <span id="time">20</span> seconds </p> diff --git a/src/test/java/com/cardiff/wylTest/HttpTest.java b/src/test/java/com/cardiff/wylTest/HttpTest.java index 598933dcebe27bd524cadb534326ad2cb703ca3d..6338d1124f16e4dec51dcfb44519c57c8ea95496 100644 --- a/src/test/java/com/cardiff/wylTest/HttpTest.java +++ b/src/test/java/com/cardiff/wylTest/HttpTest.java @@ -24,7 +24,7 @@ public class HttpTest { @Test public void testFaultPage() throws Exception { assertThat(this.restTemplate.getForObject("http://localhost:" + port + "/fault.html", - String.class)).contains("You wyl"); + String.class)).contains("You do not have sufficient access rights, the page will be redirected to the login page within"); }