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()