Skip to content

Commit c05f21f

Browse files
committed
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magento2 into 2.4-develop
2 parents d2bd1d4 + 322f883 commit c05f21f

File tree

12 files changed

+19
-19
lines changed

12 files changed

+19
-19
lines changed

dev/tests/api-functional/phpunit_graphql.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
-->
1010
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
11+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1212
colors="true"
1313
columns="max"
1414
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/api-functional/phpunit_rest.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
-->
1010
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
11+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1212
colors="true"
1313
columns="max"
1414
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/api-functional/phpunit_soap.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
-->
1010
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
11+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1212
colors="true"
1313
columns="max"
1414
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/integration/framework/tests/unit/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1010
colors="true"
1111
columns="max"
1212
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/integration/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1010
colors="true"
1111
columns="max"
1212
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/integration/testsuite/Magento/Framework/Stomp/UseCase/WaitAndNotWaitMessagesTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ protected function setUp(): void
7979
/**
8080
* Get message object, creating it lazily
8181
*
82-
* @return AsyncTestData
82+
* @return object
8383
*/
84-
private function getMsgObject(): AsyncTestData
84+
private function getMsgObject(): object
8585
{
8686
if (!$this->msgObject) {
8787
// phpstan:ignore "Class Magento\TestModuleAsyncStomp\Model\AsyncTestData not found."
@@ -95,9 +95,8 @@ private function getMsgObject(): AsyncTestData
9595
*/
9696
public function testWaitForMessages(): void
9797
{
98-
if ($this->connectionType === 'amqp') {
99-
$this->markTestSkipped('STOMP test skipped because AMQP connection is available.
100-
This test is STOMP-specific.');
98+
if ($this->connectionType !== 'stomp') {
99+
$this->markTestSkipped('This test is STOMP-specific and requires STOMP connection.');
101100
}
102101

103102
$this->publisherConsumerController->stopConsumers();
@@ -132,8 +131,7 @@ public function testWaitForMessages(): void
132131
public function testNotWaitForMessages(): void
133132
{
134133
if ($this->connectionType !== 'stomp') {
135-
$this->markTestSkipped('STOMP test skipped because AMQP connection is available.
136-
This test is STOMP-specific.');
134+
$this->markTestSkipped('This test is STOMP-specific and requires STOMP connection.');
137135
}
138136

139137
$this->publisherConsumerController->stopConsumers();
@@ -196,7 +194,9 @@ private function writeConfig(array $config): void
196194
*/
197195
protected function tearDown(): void
198196
{
197+
if ($this->config !== null) {
198+
$this->writeConfig($this->config);
199+
}
199200
parent::tearDown();
200-
$this->writeConfig($this->config);
201201
}
202202
}

dev/tests/setup-integration/framework/tests/unit/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.1/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1010
colors="true"
1111
columns="max"
1212
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/setup-integration/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1010
colors="true"
1111
columns="max"
1212
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/static/framework/tests/unit/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1010
colors="true"
1111
columns="max"
1212
beStrictAboutTestsThatDoNotTestAnything="false"

dev/tests/static/phpunit-all.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
-->
1010
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.1/phpunit.xsd"
11+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.5/phpunit.xsd"
1212
colors="true"
1313
columns="max"
1414
bootstrap="./framework/bootstrap.php"

0 commit comments

Comments
 (0)