We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a931185 commit 0aec93cCopy full SHA for 0aec93c
modules/swagger-parser-v2-converter/src/test/java/io/swagger/parser/test/V2ConverterTest.java
@@ -775,7 +775,7 @@ public void testIssue1032() throws Exception {
775
assertNotNull(unixTimestampQueryParameter);
776
Schema s = unixTimestampQueryParameter.getSchema();
777
assertTrue((s instanceof IntegerSchema), "actual type: " + s);
778
- IntegerSchema integerSchema = (IntegerSchema) x;
+ IntegerSchema integerSchema = (IntegerSchema) s;
779
assertEquals(INTEGER_TYPE, integerSchema.getType());
780
assertEquals(INT64_FORMAT, integerSchema.getFormat());
781
}
0 commit comments