]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Util/CryptoTest.php
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
[friendica.git] / tests / src / Util / CryptoTest.php
index c9263ffccf68630c6e647eadae3f89d887ca0a8f..16770ff6491e3e76534d4a531ed1c502cd899ca5 100644 (file)
@@ -29,6 +29,15 @@ use PHPUnit\Framework\TestCase;
 
 class CryptoTest extends TestCase
 {
+       public static function tearDownAfterClass(): void
+       {
+               // Reset mocking
+               global $phpMock;
+               $phpMock = [];
+
+               parent::tearDownAfterClass();
+       }
+
        /**
         * Replaces random_int results with given mocks
         *