diff --git a/src/test/scala/Objc/ObjcModelTest.scala b/src/test/scala/Objc/ObjcModelTest.scala index 4dcb003e94..2c8db5a122 100644 --- a/src/test/scala/Objc/ObjcModelTest.scala +++ b/src/test/scala/Objc/ObjcModelTest.scala @@ -240,7 +240,7 @@ class ObjcModelTest extends FlatSpec with Matchers { } it should "create proper imports per #316" in { - val model = new SwaggerLoader().read("src/test/resources/postBodyTest.json") + val model = new SwaggerLoader().read("src/test/resources/2_0/postBodyTest.json") val codegen = new ObjcClientCodegen() val animalPaths = model.getPaths() diff --git a/src/test/scala/php/PhpModelTest.scala b/src/test/scala/php/PhpModelTest.scala index 723ec5b3ae..5e5034e5ef 100644 --- a/src/test/scala/php/PhpModelTest.scala +++ b/src/test/scala/php/PhpModelTest.scala @@ -239,7 +239,7 @@ class PhpModelTest extends FlatSpec with Matchers { it should "create proper imports per #316" in { val model = new SwaggerParser() - .read("src/test/resources/postBodyTest.json") + .read("src/test/resources/2_0/postBodyTest.json") val codegen = new PhpClientCodegen() val animalPaths = model.getPaths()