Skip to content

Commit f61e936

Browse files
Test no longer applicable
1 parent d16e85e commit f61e936

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

library/src/test/scala/za/co/absa/springdocopenapiscala/OpenAPIScalaCustomizerSpec.scala

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@ class OpenAPIScalaCustomizerSpec extends AnyFlatSpec {
5656

5757
behavior of "customise"
5858

59-
it should "set `components` of its argument OpenAPI object to one injected via DI to the class" in {
60-
val components = new Components().addSchemas("a", new Schema)
61-
val openAPIScalaCustomizer = new OpenAPIScalaCustomizer(components)
62-
63-
val openAPI = initializeOpenAPI
64-
65-
openAPIScalaCustomizer.customise(openAPI)
66-
67-
assert(openAPI.getComponents === components)
68-
}
69-
7059
it should "convert all responses returning Unit (BoxedUnit reference) to empty response" in {
7160
val components = new Components()
7261
val openAPIScalaCustomizer = new OpenAPIScalaCustomizer(components)

0 commit comments

Comments
 (0)