{"id":19245252,"url":"https://github.com/amsoell/assert-json-structure-missing","last_synced_at":"2025-06-21T06:36:53.653Z","repository":{"id":141674391,"uuid":"122959279","full_name":"amsoell/assert-json-structure-missing","owner":"amsoell","description":"Laravel unit test assertion that tests for the absence of a JSON structure","archived":false,"fork":false,"pushed_at":"2018-02-26T12:44:32.000Z","size":1,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T13:17:13.869Z","etag":null,"topics":["laravel","laravel-5-package","laravel-testing","phpunit","phpunit-assertions"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amsoell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-26T11:19:02.000Z","updated_at":"2023-10-13T09:13:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff9e1459-01e2-4b31-8737-46faf671ed20","html_url":"https://github.com/amsoell/assert-json-structure-missing","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/amsoell/assert-json-structure-missing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amsoell%2Fassert-json-structure-missing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amsoell%2Fassert-json-structure-missing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amsoell%2Fassert-json-structure-missing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amsoell%2Fassert-json-structure-missing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amsoell","download_url":"https://codeload.github.com/amsoell/assert-json-structure-missing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amsoell%2Fassert-json-structure-missing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261080081,"owners_count":23106562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-5-package","laravel-testing","phpunit","phpunit-assertions"],"created_at":"2024-11-09T17:27:08.216Z","updated_at":"2025-06-21T06:36:48.636Z","avatar_url":"https://github.com/amsoell.png","language":"PHP","readme":"# TestResponse::assertJsonStructureMissing\n\nThe `TestResponse::assertJsonStructureMissing` assertion works just like [TestResponse::assertJsonStructure](https://laravel.com/api/5.6/Illuminate/Foundation/Testing/TestResponse.html#method_assertJsonStructure), except that it tests for the absence of a particular structure.\n\n```\n$response = $this-\u003eget('/data');\n$response-\u003eassertJsonStructureMissing([\n    'data' =\u003e [\n        'related' =\u003e [\n            '*' =\u003e [\n                'attribute',\n            ],\n        ],\n    ],\n]);\n```\n\nFull credit for this package goes to [Behzad Shabani](https://github.com/behzadsh). This package just takes his [pull request](https://github.com/laravel/framework/pull/20435) and packages it up so it's super easy to add to your Laravel application.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famsoell%2Fassert-json-structure-missing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famsoell%2Fassert-json-structure-missing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famsoell%2Fassert-json-structure-missing/lists"}