Skip to content
Snippets Groups Projects
Commit cc785522 authored by wyl's avatar wyl
Browse files

UPDATE

parent 3f482378
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<body> <body>
<main> <main>
<p > <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> <span id="time">20</span>
seconds seconds
</p> </p>
......
...@@ -24,7 +24,7 @@ public class HttpTest { ...@@ -24,7 +24,7 @@ public class HttpTest {
@Test @Test
public void testFaultPage() throws Exception { public void testFaultPage() throws Exception {
assertThat(this.restTemplate.getForObject("http://localhost:" + port + "/fault.html", 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");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment