Skip to content

Commit 61f3030

Browse files
Fix assertion
1 parent 03ecc24 commit 61f3030

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/WorkOS/UserManagementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ public function testCreateOrganizationMembershipWithNullRoleParams()
10711071
$organizationMembership = $this->organizationMembershipFixture();
10721072

10731073
$response = $this->userManagement->createOrganizationMembership($userId, $orgId, null, null);
1074-
$this->assertSame($organizationMembership, $response->toArray());
1074+
$this->assertEquals($organizationMembership, $response->toArray());
10751075
}
10761076

10771077
public function testGetOrganizationMembership()
@@ -1281,7 +1281,7 @@ public function testUpdateOrganizationMembershipWithNullRoleParams()
12811281
);
12821282

12831283
$response = $this->userManagement->updateOrganizationMembership($organizationMembershipId, null, null);
1284-
$this->assertSame($this->organizationMembershipFixture(), $response->toArray());
1284+
$this->assertEquals($this->organizationMembershipFixture(), $response->toArray());
12851285
}
12861286

12871287
public function testDeactivateOrganizationMembership()

0 commit comments

Comments
 (0)