From cc785522f68999c8582e75bf9c07ab04943d76a9 Mon Sep 17 00:00:00 2001
From: wyl <wangyulong990316@outlook.com>
Date: Mon, 7 Apr 2025 12:57:35 +0100
Subject: [PATCH] UPDATE

---
 src/main/resources/static/html/fault.html       | 2 +-
 src/test/java/com/cardiff/wylTest/HttpTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/static/html/fault.html b/src/main/resources/static/html/fault.html
index 9b40875..78994fc 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 598933d..6338d11 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");
     }
 
 
-- 
GitLab