Skip to content

リクエストボディに含まれる配列の順序を気にしせずverifyしたい #39

@ayato-p

Description

@ayato-p

$.features[].id が含まれていることには関心があるけど、順序については気にしたくない場合
https://github.com/uzabase/playtest2/blob/99881f5955463413a77c731332a608eec82e4b63[…]in/kotlin/com/uzabase/playtest2/wiremock/proxy/WireMockProxy.kt
WireMockProxy#updateBody()の中で使用しているequalToJsonの第2引数にtrueを指定できるようにしたい (or 指定されたステップが公開されていて欲しい)

{
  "features": [
    {
      "id": "feature1",
      "text": "feature text 1"
    },
    {
      "id": "feature2",
      "text": "feature text 2"
    },
    {
      "id": "feature3",
      "text": "feature text 3"
    },
    {
      "id": "feature4",
      "text": "feature text 4"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions