Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Component / Utility / CryptRandomFallbackTest.php
index de00da6a4b6ff158e26a192534c3789695640e0c..4d02e1e804716a3c4f46893c9d1a052aa6c18bf8 100644 (file)
@@ -2,8 +2,8 @@
 
 namespace Drupal\Tests\Component\Utility;
 
-use Drupal\Tests\UnitTestCase;
 use Drupal\Component\Utility\Crypt;
+use PHPUnit\Framework\TestCase;
 
 /**
  * Tests random byte generation fallback exception situations.
@@ -14,7 +14,7 @@ use Drupal\Component\Utility\Crypt;
  *
  * @coversDefaultClass \Drupal\Component\Utility\Crypt
  */
-class CryptRandomFallbackTest extends UnitTestCase {
+class CryptRandomFallbackTest extends TestCase {
 
   static protected $functionCalled = 0;
 
@@ -52,7 +52,7 @@ class CryptRandomFallbackTest extends UnitTestCase {
 
 namespace Drupal\Component\Utility;
 
-use  \Drupal\Tests\Component\Utility\CryptRandomFallbackTest;
+use Drupal\Tests\Component\Utility\CryptRandomFallbackTest;
 
 /**
  * Defines a function in same namespace as Drupal\Component\Utility\Crypt.