diff --git a/tests/version/commands/test_java.py b/tests/version/commands/test_java.py index 164bb2691..4249b4afa 100644 --- a/tests/version/commands/test_java.py +++ b/tests/version/commands/test_java.py @@ -30,7 +30,7 @@ "line": 3 }, { - "path": "src/application.properties", + "path": "application.properties", "line": 2 } ] @@ -131,8 +131,7 @@ def test_verify_version(self): TEMPLATE_UPGRADE_VERSION_MARKDOWN.format(version), encoding="utf-8", ) - properties_file_path = Path("src/application.properties") - Path("src").mkdir(parents=True, exist_ok=True) + properties_file_path = Path("application.properties") properties_file_path.write_text( TEMPLATE_UPGRADE_VERSION_WITH_VERSION_PROPERTIES.format( version