Skip to content

Commit 28e0f14

Browse files
authored
Fixing Policy PATCH test
1 parent ff01c47 commit 28e0f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Identity/v3/Models/PolicyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function test_it_updates()
5757
{
5858
$this->policy->type = 'foo';
5959

60-
$this->setupMock('PATCH', 'policies/POLICY_ID', ['type' => 'foo'], [], 'policy');
60+
$this->setupMock('PATCH', 'policies/POLICY_ID', ['policy' => ['type' => 'foo']], [], 'policy');
6161

6262
$this->policy->update();
6363
}

0 commit comments

Comments
 (0)