Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev UI nitpicking #31314

Merged
merged 2 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,18 @@ public class ClasspathResourceTestCase {
public void testRootResource() {

RestAssured.get("/other/hello.txt").then()
.log().all()
.statusCode(200)
.body(is("hello"));

RestAssured.get("/stuff.html").then()
.log().all()
.statusCode(200)
.body(is("stuff"));

RestAssured.get("/index.html").then()
.log().all()
.statusCode(200)
.body(is("index"));

RestAssured.get("/").then()
.log().all()
.statusCode(200)
.body(is("index"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@ public class StaticFileWithResourcesHttpRootTest {
public void test() {

RestAssured.get("/web/index.html").then()
.log().all()
.statusCode(200)
.body(containsString("<h1>Hello</h1>"));

RestAssured.get("/lorem.txt").then()
.log().all()
.statusCode(200)
.body(containsString("Lorem"));

RestAssured.get("/").then()
.log().all()
.statusCode(200)
.body(containsString("Root Resource"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* This creates static content that is used in dev UI. For example the index.html and any other data (json) available on build
* time
*/
public class BuiltTimeContentProcessor {
public class BuildTimeContentProcessor {
private static final String SLASH = "/";
private static final String DEV_UI = "dev-ui";
private static final String BUILD_TIME_PATH = "dev-ui-templates" + File.separator + "build-time";
Expand Down