Skip to content

Commit 56d373d

Browse files
committed
[php][php-nextgen] Fix test
1 parent 7851c60 commit 56d373d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/php/PhpNextgenClientCodegenTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public void testDifferentResponseSchemasWithEmpty() throws IOException {
173173
.map(String::trim)
174174
.collect(Collectors.toList());
175175

176-
Assert.assertListContains(modelContent, a -> a.equals("): integer|string|null"), "Expected to find nullable return type declaration.");
177-
Assert.assertListNotContains(modelContent, a -> a.equals("): ?integer|string"), "Expected to not find invalid union type with '?'.");
176+
Assert.assertListContains(modelContent, a -> a.equals("): int|string|null"), "Expected to find nullable return type declaration.");
177+
Assert.assertListNotContains(modelContent, a -> a.equals("): ?int|string"), "Expected to not find invalid union type with '?'.");
178178
}
179179
}

0 commit comments

Comments
 (0)