Skip to content

Commit 80fc11c

Browse files
committed
updated test
1 parent 20c86eb commit 80fc11c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/swagger-jaxrs/src/test/scala/SimpleScannerTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
6464

6565
it should "scan a resource with generics per 653" in {
6666
val swagger = new Reader(new Swagger()).read(classOf[Resource653])
67-
val path = swagger.getPaths().get("external/info")
67+
val path = swagger.getPaths().get("/external/info")
6868
val get = path.getGet()
6969
get should not be (null)
7070

@@ -82,7 +82,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
8282

8383
it should "scan a resource with Response.Status return type per 877" in {
8484
val swagger = new Reader(new Swagger()).read(classOf[Resource877])
85-
val path = swagger.getPaths().get("external/info")
85+
val path = swagger.getPaths().get("/external/info")
8686

8787
swagger.getTags() should not be (null)
8888
swagger.getTags().size() should be (1)
@@ -95,7 +95,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
9595

9696
it should "scan a resource with tags" in {
9797
val swagger = new Reader(new Swagger()).read(classOf[TaggedResource])
98-
Json.prettyPrint(swagger)
98+
swagger.getTags().size() should be (2)
9999
}
100100
}
101101

0 commit comments

Comments
 (0)