Commit d42c3691 authored by Prabu, Shrinandhan's avatar Prabu, Shrinandhan
Browse files

CHANGE index page, fix test

parent d8690c14
Pipeline #175524 passed with stages
in 5 minutes and 6 seconds
...@@ -35,7 +35,7 @@ public class IndexPage implements Page { ...@@ -35,7 +35,7 @@ public class IndexPage implements Page {
// body // body
writer.println( writer.println(
"<h1 style=\"color:#1e847f\"><u>Welcome To The Mystery Query!!</u></h1><br><br>\n" "<h1 style=\"color:#1e847f\"><u>Welcome To Our Mystery Query!!</u></h1><br><br>\n"
+ "<p style=\"color:black\">Enter your query in the box below:\n" + "<p style=\"color:black\">Enter your query in the box below:\n"
+ " <form>\n" + " <form>\n"
+ " <input type=\"text\" name=\"q\"/\n" + " <input type=\"text\" name=\"q\"/\n"
......
...@@ -27,7 +27,7 @@ public class QueryProcessorTest { ...@@ -27,7 +27,7 @@ public class QueryProcessorTest {
@Test @Test
public void knowsAboutPutin() throws Exception { public void knowsAboutPutin() throws Exception {
assertThat(queryProcessor.process("putin"), containsString("Nandhu")); assertThat(queryProcessor.process("putin"), containsString("politician"));
} }
@Test @Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment