File tree Expand file tree Collapse file tree
tests/modules/core/lib/Auth/Process Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,28 +127,28 @@ public function testThrowExceptionFromFilter()
127127 public function testStateCanBeModified ()
128128 {
129129
130- $ config = array (
130+ $ config = ]
131131 'code ' => '
132132 $ attributes ["orig2 " ] = array ("value0 " );
133133 $ state ["newKey " ] = ["newValue " ];
134134 $ state ["Destination " ]["attributes " ][] = "givenName " ;
135135 ',
136- ) ;
137- $ request = array (
138- 'Attributes ' => array (
139- 'orig1 ' => array ( 'value1 ' , 'value2 ' ) ,
140- 'orig2 ' => array ( 'value3 ' ) ,
141- 'orig3 ' => array ( 'value4 ' )
142- ) ,
136+ ] ;
137+ $request = [
138+ ' Attributes' => [
139+ 'orig1 ' => [ 'value1 ' , 'value2 ' ] ,
140+ 'orig2 ' => [ 'value3 ' ] ,
141+ 'orig3 ' => [ 'value4 ' ]
142+ ] ,
143143 'Destination' => [
144144 'attributes ' => ['eduPersonPrincipalName ' ]
145145 ],
146- ) ;
147- $ expected = array (
148- 'Attributes ' => array (
149- 'orig1 ' => array ( 'value1 ' , 'value2 ' ) ,
150- 'orig2 ' => array ( 'value0 ' ) ,
151- 'orig3 ' => array ( 'value4 ' )
146+ ] ;
147+ $ expected = [
148+ 'Attributes ' => [
149+ 'orig1 ' => [ 'value1 ' , 'value2 ' ] ,
150+ 'orig2 ' => [ 'value0 ' ] ,
151+ 'orig3 ' => [ 'value4 ' ]
152152 ),
153153 'Destination ' => [
154154 'attributes ' => ['eduPersonPrincipalName ' , 'givenName ' ]
You can’t perform that action at this time.
0 commit comments