Skip to content

Commit

Permalink
Scramble tests
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Dec 2, 2020
1 parent 04aca8a commit 31bfb13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/integration/extenders/PolicyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public function unrelated_user_cant_hide_discussion_if_denied()
{
$this->extend(
(new Extend\Policy(Discussion::class))
->add(CustomPolicy::class)
->add(DenyHidePolicy::class)
->add(CustomPolicy::class)
);

$this->prepDb();
Expand All @@ -102,9 +102,9 @@ public function unrelated_user_can_hide_discussion_if_force_allowed()
{
$this->extend(
(new Extend\Policy(Discussion::class))
->add(CustomPolicy::class)
->add(DenyHidePolicy::class)
->add(ForceAllowHidePolicy::class)
->add(DenyHidePolicy::class)
->add(CustomPolicy::class)
);

$this->prepDb();
Expand All @@ -125,10 +125,10 @@ public function unrelated_user_cant_hide_discussion_if_force_denied()
// order isn't considered, as the last result overrides all.
$this->extend(
(new Extend\Policy(Discussion::class))
->add(CustomPolicy::class)
->add(DenyHidePolicy::class)
->add(ForceAllowHidePolicy::class)
->add(ForceDenyHidePolicy::class)
->add(CustomPolicy::class)
->add(ForceAllowHidePolicy::class)
);

$this->prepDb();
Expand Down

0 comments on commit 31bfb13

Please sign in to comment.