Skip to content

Commit fbc0ac9

Browse files
committed
Bump xml-security & fix tests
1 parent 4942874 commit fbc0ac9

File tree

9 files changed

+40
-44
lines changed

9 files changed

+40
-44
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
extensions: ctype, date, dom, hash, intl, json, mbstring, mysql, openssl, pcre, pdo, pdo_sqlite, spl, xml
159159
tools: composer:v2
160160
ini-values: error_reporting=E_ALL
161-
coverage: xdebug
161+
coverage: pcov
162162

163163
- name: Setup problem matchers for PHP
164164
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787

8888
"mikey179/vfsstream": "~1.6",
8989
"simplesamlphp/simplesamlphp-module-adfs": "dev-master",
90-
"simplesamlphp/simplesamlphp-test-framework": "^1.4.0",
91-
"simplesamlphp/xml-security": "^1.5.0"
90+
"simplesamlphp/simplesamlphp-test-framework": "^1.4.1",
91+
"simplesamlphp/xml-security": "^1.6.0"
9292
},
9393
"suggest": {
9494
"predis/predis": "Needed if a Redis server is used to store session information",

composer.lock

Lines changed: 32 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
</exclude>
1616
<report>
1717
<clover outputFile="build/logs/clover.xml"/>
18-
<html outputDirectory="build/coverage" lowUpperBound="35" highLowerBound="70"/>
19-
<text outputFile="php://stdout" showUncoveredFiles="true"/>
2018
</report>
2119
</coverage>
2220
<testsuites>

tests/modules/admin/src/Controller/FederationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
class FederationTest extends TestCase
2828
{
2929
/** @var string */
30-
private const SECURITY = 'vendor/simplesamlphp/xml-security/tests/resources';
30+
private const SECURITY = 'vendor/simplesamlphp/xml-security/resources';
3131

3232
/** @var string */
3333
private const FRAMEWORK = 'vendor/simplesamlphp/simplesamlphp-test-framework';

tests/modules/saml/src/Auth/Source/SPTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class SPTest extends ClearStateTestCase
3232
{
3333
/** @var string */
34-
private const SECURITY = 'vendor/simplesamlphp/xml-security/tests/resources';
34+
private const SECURITY = 'vendor/simplesamlphp/xml-security/resources';
3535

3636
/** @var string */
3737
public const CERT_KEY = '../' . self::SECURITY . '/certificates/selfsigned.simplesamlphp.org.key';

tests/modules/saml/src/Controller/MetadataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function setUp(): void
3939

4040
$this->mdh = new class () extends MetaDataStorageHandler {
4141
/** @var string */
42-
private const XMLSEC = '../vendor/simplesamlphp/xml-security/tests/resources';
42+
private const XMLSEC = '../vendor/simplesamlphp/xml-security/resources';
4343

4444
/** @var string */
4545
public const CERT_KEY = self::XMLSEC . '/certificates/selfsigned.simplesamlphp.org.key';

tests/modules/saml/src/IdP/SAML2Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class SAML2Test extends ClearStateTestCase
2121
{
2222
/** @var string */
23-
private const SECURITY = 'vendor/simplesamlphp/xml-security/tests/resources';
23+
private const SECURITY = 'vendor/simplesamlphp/xml-security/resources';
2424

2525
/** @var string */
2626
public const CERT_KEY = '../' . self::SECURITY . '/certificates/selfsigned.simplesamlphp.org.key';

tests/src/SimpleSAML/Metadata/SAMLBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
class SAMLBuilderTest extends TestCase
1818
{
19-
private const SECURITY = 'vendor/simplesamlphp/xml-security/tests/resources';
19+
private const SECURITY = 'vendor/simplesamlphp/xml-security/resources';
2020

2121
/**
2222
*/

0 commit comments

Comments
 (0)