Skip to content

Commit c2fc593

Browse files
committed
Fix unit-test
1 parent 80bde34 commit c2fc593

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
uses: shivammathur/setup-php@v2
5454
with:
5555
php-version: ${{ matrix.php-versions }}
56-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml
5757
tools: composer
5858
ini-values: error_reporting=E_ALL
5959
coverage: pcov
@@ -115,7 +115,7 @@ jobs:
115115
uses: shivammathur/setup-php@v2
116116
with:
117117
php-version: ${{ matrix.php-versions }}
118-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
118+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml
119119
tools: composer
120120
ini-values: error_reporting=E_ALL
121121
coverage: none

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
"ext-pcre": "*",
3939

4040
"simplesamlphp/assert": "^1.1",
41-
"simplesamlphp/cas": "^1.0",
4241
"simplesamlphp/composer-module-installer": "^1.3.4",
4342
"simplesamlphp/simplesamlphp": "~2.4.0",
4443
"simplesamlphp/simplesamlphp-module-ldap": "~1.2",
44+
"simplesamlphp/xml-cas": "^1.0",
45+
"simplesamlphp/xml-common": "^1.8",
4546
"symfony/http-foundation": "^6.4"
4647
},
4748
"require-dev": {

src/Controller/CAS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function setAuthSource(Auth\Source $authSource): void
8080
*/
8181
public function linkback(Request $request): RunnableResponse
8282
{
83-
if (!$request->query->has('stateId')) {
83+
if (!$request->query->has('StateId')) {
8484
throw new Error\BadRequest('Missing StateId parameter.');
8585
}
8686

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"symbol-whitelist": [
3+
"SimpleSAML\\Module\\ldap\\Auth\\Ldap"
34
]
45
}

0 commit comments

Comments
 (0)