From 3afd8b9f0314ae4768fd1ce7b15e89df6aa8b649 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Wed, 6 Oct 2021 15:10:46 -0600 Subject: [PATCH] just work, thanks --- .../Integration/Api/Application/Users/UserControllerTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/Integration/Api/Application/Users/UserControllerTest.php b/tests/Integration/Api/Application/Users/UserControllerTest.php index 83033fc7..0ae69e3c 100644 --- a/tests/Integration/Api/Application/Users/UserControllerTest.php +++ b/tests/Integration/Api/Application/Users/UserControllerTest.php @@ -198,7 +198,6 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase $response->assertJsonStructure([ 'object', 'attributes' => ['id', 'external_id', 'uuid', 'username', 'email', 'language', 'admin_role_id', 'root_admin', '2fa', 'created_at', 'updated_at'], - 'meta' => ['resource'], ]); $this->assertDatabaseHas('users', ['username' => 'testuser', 'email' => 'test@example.com']); @@ -207,9 +206,6 @@ class UserControllerTest extends ApplicationApiIntegrationTestCase $response->assertJson([ 'object' => 'user', 'attributes' => (new UserTransformer())->transform($user), - 'meta' => [ - 'resource' => route('api.application.users.view', $user->id), - ], ], true); }