Closed bytestream closed 2 years ago
I'm not sure I understand? Your issue is with seeJsonEquals
which only accepts an array. How does this affect seeJson
?
@driesvints seeJson()
defaults $data
to null
which is passed to seeJsonEquals
.
The response returns valid JSON, which is how it falls through to seeJsonEquals(null)
Okay I see what you mean. Thanks, we'll check in on that.
Fixed. Will be in tomorrow's release: https://github.com/laravel/browser-kit-testing/pull/160
Great thanks :+1:
Description:
In v6
seeJson()
is no longer possible and produces:Broken by https://github.com/laravel/browser-kit-testing/commit/d472e1c8f0d11614106db9c75435bdaf723e3290 which proclaimed:
This is what the reproducer below also intends to do.
Steps To Reproduce: