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 6993801 commit 6a96663Copy full SHA for 6a96663
src/test/scala/com/github/swagger/scala/converter/ScalaModelTest.scala
@@ -53,9 +53,9 @@ class ScalaModelTest extends AnyFlatSpec with Matchers {
53
val userSchema = schemas("ModelWithJavaEnum")
54
55
val level = userSchema.getProperties().get("level")
56
- level shouldBe a[StringProperty]
+ level shouldBe a[StringSchema]
57
58
- val sp = level.asInstanceOf[StringProperty]
+ val sp = level.asInstanceOf[StringSchema]
59
sp.getEnum().asScala.toSet shouldEqual Set("LOW", "MEDIUM", "HIGH")
60
}
61
0 commit comments