Uploaded image for project: 'MedMij Standaarden'
  1. MedMij Standaarden
  2. MM-1934

Accept QuestionnaireProvisioningTask faalt vreemd

Details

    • Nee
    • Vragenlijsten
    • FHIR, Kwalificatie
    • Geen impact.
    • Other
    • Weghalen van de narrative en de display's uit de minimum fixtures in de kwalificatiematerialen van Vragenlijsten.
    • Hide

      Removed narrative and displays from the minimum fixtures in the Questionnaires qualification materials.

      Show
      Removed narrative and displays from the minimum fixtures in the Questionnaires qualification materials.

    Description

      Het Vragenlijsten 2019 Testscript voor scenario 3.2 en 3.1 Accept Task stuk faalt op "Assert that the request contains the minimum required amount of data"

      Echter komt de Task die we PUT'en goed overeen met de minimale vereisten van de task-minimum-fixture-xml – de velden waarop deze Assert faalt zijn dus onduidelijk:

      /*
       rule.summary=Check if request conforms to the minimum fixture in the same format as the request (xml/json)
       rule.description=Assert that the request contains the minimum required amount of data
       rule.param.minimumFixtureBase.required=true
      */
      assert request.header("Content-Type").contains("json") || request.header("Content-Type").contains("xml"): "Expected JSON or XML in message body"
      assert request.body != null: "Expected message body but did not find it in request"
      String postfix = (request.header("Content-Type").contains("json")) ? "-json" : "-xml"
      request.assertMinimum(param.minimumFixtureBase + postfix)`
      

      Zie testexecutie:
      https://touchstone.aegis.net/touchstone/execution?exec=202103010555244276935225

       

      Attachments

        Issue Links

          Activity

            People

              edelman@nictiz.nl Pieter Edelman
              hidde@drimpy.com Hidde Schultze
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jigit Development

                  Branches:
                  Pull requests: