From a9eb0efd6b18684f58609c83f12131f32f029c05 Mon Sep 17 00:00:00 2001 From: Kendall Swarthout Date: Tue, 2 Dec 2025 16:22:53 -0800 Subject: [PATCH] Fix assertion --- tests/WorkOS/UserManagementTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/WorkOS/UserManagementTest.php b/tests/WorkOS/UserManagementTest.php index 701b052..3a71d17 100644 --- a/tests/WorkOS/UserManagementTest.php +++ b/tests/WorkOS/UserManagementTest.php @@ -1071,7 +1071,7 @@ public function testCreateOrganizationMembershipWithNullRoleParams() $organizationMembership = $this->organizationMembershipFixture(); $response = $this->userManagement->createOrganizationMembership($userId, $orgId, null, null); - $this->assertSame($organizationMembership, $response->toArray()); + $this->assertEquals($organizationMembership, $response->toArray()); } public function testGetOrganizationMembership() @@ -1281,7 +1281,7 @@ public function testUpdateOrganizationMembershipWithNullRoleParams() ); $response = $this->userManagement->updateOrganizationMembership($organizationMembershipId, null, null); - $this->assertSame($this->organizationMembershipFixture(), $response->toArray()); + $this->assertEquals($this->organizationMembershipFixture(), $response->toArray()); } public function testDeactivateOrganizationMembership()