@@ -66,7 +66,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
6666
6767 public function testGetGroupsNoUser ()
6868 {
69- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
69+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
7070 $ groups = $ this ->presenter ->groups ->findBy (['archivedAt ' => null ]);
7171 Assert::true (count ($ groups ) > 0 );
7272 $ instanceId = $ groups [0 ]->getInstance ()->getId ();
@@ -120,7 +120,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
120120
121121 public function testGetGroupsStudent ()
122122 {
123- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
123+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
124124 $ users = $ this ->users ->findBy (['email ' => PresenterTestHelper::STUDENT_GROUP_MEMBER_LOGIN ]);
125125 Assert::count (1 , $ users );
126126 $ user = current ($ users );
@@ -153,7 +153,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
153153
154154 public function testGetGroupsTeacher ()
155155 {
156- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
156+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
157157 $ users = $ this ->users ->findBy (['email ' => PresenterTestHelper::GROUP_SUPERVISOR_LOGIN ]);
158158 Assert::count (1 , $ users );
159159 $ user = current ($ users );
@@ -186,7 +186,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
186186
187187 public function testGetAttributesAdd ()
188188 {
189- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
189+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
190190 $ attributes = $ this ->presenter ->groupExternalAttributes ->findAll ();
191191 Assert::count (5 , $ attributes );
192192 $ attribute = current ($ attributes );
@@ -214,7 +214,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
214214
215215 public function testGetAttributesRemove ()
216216 {
217- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
217+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
218218 $ attributes = $ this ->presenter ->groupExternalAttributes ->findAll ();
219219 Assert::count (5 , $ attributes );
220220 $ attribute = current ($ attributes );
0 commit comments