
| Current Path : /var/www/html1/rrr/web/core/tests/Drupal/Tests/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //var/www/html1/rrr/web/core/tests/Drupal/Tests/UnitTestCaseTest.php |
<?php
namespace Drupal\Tests;
/**
* Tests for the UnitTestCase class.
*
* @group Tests
*/
class UnitTestCaseTest extends UnitTestCase {
/**
* Tests deprecation of the ::assertArrayEquals method.
*
* @group legacy
*/
public function testAssertArrayEquals() {
$this->expectDeprecation('Drupal\Tests\UnitTestCase::assertArrayEquals() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::assertEquals(), ::assertEqualsCanonicalizing(), or ::assertSame() instead. See https://www.drupal.org/node/3136304');
$this->assertArrayEquals([], []);
}
}