Skip to content

Commit

Permalink
Rename reference files to .txt
Browse files Browse the repository at this point in the history
- no IDE refactoring for txt files
  • Loading branch information
pe-st committed Nov 1, 2023
1 parent 124a03f commit eb88f65
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static class OpenapiSkeleton {
@Test
void openapi_yaml() throws IOException {

String expected = loadResourceFile("openapi.yaml");
String expectedSorted = loadResourceFile("openapi-sorted.yaml");
String expected = loadResourceFile("openapi.yaml.txt");
String expectedSorted = loadResourceFile("openapi-sorted.yaml.txt");

String document = when().get("/openapi")
.then()
Expand All @@ -63,7 +63,7 @@ void openapi_yaml() throws IOException {
@Test
void openapi_json() throws IOException {

String expected = loadResourceFile("openapi.json");
String expected = loadResourceFile("openapi.json.txt");

String document = given().accept(MediaType.APPLICATION_JSON)
.when().get("/openapi")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static class OpenapiSkeleton {
@Test
void openapi_yaml() throws IOException {

String expected = loadResourceFile("openapi.yaml");
String expectedSorted = loadResourceFile("openapi-sorted.yaml");
String expected = loadResourceFile("openapi.yaml.txt");
String expectedSorted = loadResourceFile("openapi-sorted.yaml.txt");

String document = when().get("/openapi")
.then()
Expand All @@ -64,7 +64,7 @@ void openapi_yaml() throws IOException {
@Test
void openapi_json() throws IOException {

String expected = loadResourceFile("openapi.json");
String expected = loadResourceFile("openapi.json.txt");

String document = given().accept(MediaType.APPLICATION_JSON)
.when().get("/openapi")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static class OpenapiSkeleton {
@Test
void openapi_yaml() throws IOException {

String expected = loadResourceFile("openapi.yaml");
String expectedSorted = loadResourceFile("openapi-sorted.yaml");
String expected = loadResourceFile("openapi.yaml.txt");
String expectedSorted = loadResourceFile("openapi-sorted.yaml.txt");

String document = when().get("/openapi")
.then()
Expand All @@ -63,7 +63,7 @@ void openapi_yaml() throws IOException {
@Test
void openapi_json() throws IOException {

String expected = loadResourceFile("openapi.json");
String expected = loadResourceFile("openapi.json.txt");

String document = given().accept(MediaType.APPLICATION_JSON)
.when().get("/openapi")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ static class OpenapiSkeleton {
@Test
void openapi_yaml() throws IOException {

String expected = loadResourceFile("openapi.yaml");
String expectedSorted = loadResourceFile("openapi-sorted.yaml");
String expected = loadResourceFile("openapi.yaml.txt");
String expectedSorted = loadResourceFile("openapi-sorted.yaml.txt");

String document = when().get("/openapi")
.then()
Expand All @@ -63,7 +63,7 @@ void openapi_yaml() throws IOException {
@Test
void openapi_json() throws IOException {

String expected = loadResourceFile("openapi.json");
String expected = loadResourceFile("openapi.json.txt");

String document = given().accept(MediaType.APPLICATION_JSON)
.when().get("/openapi")
Expand Down

0 comments on commit eb88f65

Please sign in to comment.