X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FUtility%2FCryptRandomFallbackTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FUtility%2FCryptRandomFallbackTest.php;h=4d02e1e804716a3c4f46893c9d1a052aa6c18bf8;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=de00da6a4b6ff158e26a192534c3789695640e0c;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php b/web/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php index de00da6a4..4d02e1e80 100644 --- a/web/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php +++ b/web/core/tests/Drupal/Tests/Component/Utility/CryptRandomFallbackTest.php @@ -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.