From 3bb836a1014e2b15a4f1641de92bfb57fdc7c4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 1 Sep 2022 09:09:38 +0000 Subject: [PATCH] Update tests to support new confirmation check --- tests/unit/Auth/AuthTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/unit/Auth/AuthTest.php b/tests/unit/Auth/AuthTest.php index 362b0ee9b..4cd180b95 100644 --- a/tests/unit/Auth/AuthTest.php +++ b/tests/unit/Auth/AuthTest.php @@ -353,6 +353,7 @@ class AuthTest extends TestCase '$id' => ID::custom('123'), 'memberships' => [ [ + 'confirm' => true, 'teamId' => ID::custom('abc'), 'roles' => [ 'administrator', @@ -360,6 +361,7 @@ class AuthTest extends TestCase ] ], [ + 'confirm' => true, 'teamId' => ID::custom('def'), 'roles' => [ 'guest' @@ -387,6 +389,7 @@ class AuthTest extends TestCase '$id' => ID::custom('123'), 'memberships' => [ [ + 'confirm' => true, 'teamId' => ID::custom('abc'), 'roles' => [ 'administrator', @@ -394,6 +397,7 @@ class AuthTest extends TestCase ] ], [ + 'confirm' => true, 'teamId' => ID::custom('def'), 'roles' => [ 'guest' @@ -421,6 +425,7 @@ class AuthTest extends TestCase '$id' => ID::custom('123'), 'memberships' => [ [ + 'confirm' => true, 'teamId' => ID::custom('abc'), 'roles' => [ 'administrator', @@ -428,6 +433,7 @@ class AuthTest extends TestCase ] ], [ + 'confirm' => true, 'teamId' => ID::custom('def'), 'roles' => [ 'guest'