@@ -66,7 +66,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
66
66
67
67
public function testGetGroupsNoUser ()
68
68
{
69
- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
69
+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
70
70
$ groups = $ this ->presenter ->groups ->findBy (['archivedAt ' => null ]);
71
71
Assert::true (count ($ groups ) > 0 );
72
72
$ instanceId = $ groups [0 ]->getInstance ()->getId ();
@@ -120,7 +120,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
120
120
121
121
public function testGetGroupsStudent ()
122
122
{
123
- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
123
+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
124
124
$ users = $ this ->users ->findBy (['email ' => PresenterTestHelper::STUDENT_GROUP_MEMBER_LOGIN ]);
125
125
Assert::count (1 , $ users );
126
126
$ user = current ($ users );
@@ -153,7 +153,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
153
153
154
154
public function testGetGroupsTeacher ()
155
155
{
156
- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
156
+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
157
157
$ users = $ this ->users ->findBy (['email ' => PresenterTestHelper::GROUP_SUPERVISOR_LOGIN ]);
158
158
Assert::count (1 , $ users );
159
159
$ user = current ($ users );
@@ -186,7 +186,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
186
186
187
187
public function testGetAttributesAdd ()
188
188
{
189
- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
189
+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
190
190
$ attributes = $ this ->presenter ->groupExternalAttributes ->findAll ();
191
191
Assert::count (5 , $ attributes );
192
192
$ attribute = current ($ attributes );
@@ -214,7 +214,7 @@ class TestGroupExternalAttributesPresenter extends Tester\TestCase
214
214
215
215
public function testGetAttributesRemove ()
216
216
{
217
- PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL_ATTRIBUTES ]);
217
+ PresenterTestHelper::loginDefaultAdmin ($ this ->container , [TokenScope::GROUP_EXTERNAL ]);
218
218
$ attributes = $ this ->presenter ->groupExternalAttributes ->findAll ();
219
219
Assert::count (5 , $ attributes );
220
220
$ attribute = current ($ attributes );
0 commit comments