Skip to content

Commit

Permalink
chore(Storage): fix IAM system tests (#7206)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwarajanand authored Apr 5, 2024
1 parent 4d8b415 commit e22a5b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Storage/tests/System/IamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,7 @@ public function testGetModifySetConditionalPolicy()
$policy['bindings'][] = $conditionalBinding;
$iam->setPolicy($policy);
$policy = $iam->reload(['requestedPolicyVersion' => 3]);
$this->assertContains(
$conditionalBinding,
$policy['bindings']
);
$this->assertTrue(in_array($conditionalBinding, $policy['bindings']));
}

private function bucketConfig($enabled = true)
Expand Down

0 comments on commit e22a5b4

Please sign in to comment.