diff --git a/test/unit/view/partials/signatureSpec.js b/test/unit/view/partials/signatureSpec.js index e57401f4..f709bd43 100644 --- a/test/unit/view/partials/signatureSpec.js +++ b/test/unit/view/partials/signatureSpec.js @@ -153,10 +153,10 @@ describe('SwaggerUi.partials.signature tests', function () { it('returns tag string when passing type string and xml:{"namespace": "http://swagger.io/schema/sample", "prefix": "sample"}', function () { var name = 'name'; var definition = { - "type": "string", - "xml": { - "namespace": "http://swagger.io/schema/sample", - "prefix": "sample" + type: 'string', + xml: { + namespace: 'http://swagger.io/schema/sample', + prefix: 'sample' } }; @@ -166,9 +166,9 @@ describe('SwaggerUi.partials.signature tests', function () { it('returns tag string when passing type string and xml:{"namespace": "http://swagger.io/schema/sample"}', function () { var name = 'name'; var definition = { - "type": "string", - "xml": { - "namespace": "http://swagger.io/schema/sample" + type: 'string', + xml: { + namespace: 'http://swagger.io/schema/sample' } };