imbo / behat-api-extension

API extension for Behat, used to ease testing of JSON-based APIs
MIT License
109 stars 42 forks source link

Fixes #11: PHP notice when value is array. #12

Closed dzschille closed 8 years ago

dzschille commented 8 years ago

I got an PHP notice instead the InvalidArgumentException message when $value is array. This was the case when i used this PyString:

Then the response body contains:
      """
        {
          "customer": {
            "images[0]": {
              "filename_client": "myfile.ai"
            }
          }
        }
      """
christeredvartsen commented 8 years ago

Closing this as #14 fixes this.