/** @test */ function it_applies_a_query_encoded_in_the_url() { $this->get('api/posts?query=[["where",["visible","=",false]],["limit",[20]]]')->seeJsonEquals(Post::where('visible', '=', false)->limit(20)->get()->toArray()); }