-
Notifications
You must be signed in to change notification settings - Fork 2
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
Chore-XXX: Fixed jsonSchemaTest #1282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
tx-backend/src/test/java/org/eclipse/tractusx/traceability/JsonSchemaTest.java
Fixed
Show fixed
Hide fixed
tx-backend/src/test/java/org/eclipse/tractusx/traceability/JsonSchemaTest.java
Fixed
Show fixed
Hide fixed
tx-backend/src/test/java/org/eclipse/tractusx/traceability/JsonSchemaTest.java
Fixed
Show fixed
Hide fixed
Integration Test Results345 tests 345 ✅ 1m 34s ⏱️ Results for commit 4d01e87. ♻️ This comment has been updated with latest results. |
Unit Test Results208 tests 208 ✅ 18s ⏱️ Results for commit 4d01e87. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
✅ No Dependency Check findings were found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
if (highestVersionFile == null) { | ||
throw new IOException("No suitable file found"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a test, there is no need to throw Exceptions. Maybe use assertNotNull.
@Test | ||
public void test() throws IOException { | ||
public void test() throws IOException, URISyntaxException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an appropriate method name
file | ||
); | ||
|
||
|
||
List<String> strings = isValid(multipartFile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use an appropriate variable name instead of strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short description of the feature/fix to the Changelog.md.
tx-backend/pom.xml
Outdated
<artifactId>maven-resources-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<executions> | ||
<execution> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put execution into the already existing plugin.
for (String string : strings) { | ||
log.info(string); | ||
} | ||
public void testJsonSchema() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testLatestJsonSchema
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog
|
|
No description provided.