Skip to content

Commit 3620d45

Browse files
committed
removed mock expectation call to avoid NPE in tests
1 parent fcc4c2c commit 3620d45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/swagger-codegen/src/test/java/io/swagger/codegen/python/PythonClientOptionsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ protected CodegenConfig getCodegenConfig() {
2626
@Override
2727
protected void setExpectations() {
2828
new Expectations(clientCodegen) {{
29-
clientCodegen.setPackageName(PythonClientOptionsProvider.PACKAGE_NAME_VALUE);
3029
clientCodegen.setProjectName(PythonClientOptionsProvider.PROJECT_NAME_VALUE);
3130
clientCodegen.setPackageVersion(PythonClientOptionsProvider.PACKAGE_VERSION_VALUE);
3231
clientCodegen.setPackageUrl(PythonClientOptionsProvider.PACKAGE_URL_VALUE);

0 commit comments

Comments
 (0)