]> git.mxchange.org Git - friendica.git/commitdiff
Fix tests
authorArt4 <art4@wlabs.de>
Thu, 6 Feb 2025 08:33:18 +0000 (08:33 +0000)
committerArt4 <art4@wlabs.de>
Thu, 6 Feb 2025 08:33:18 +0000 (08:33 +0000)
tests/Unit/Util/CryptoTest.php

index 55d24562a91e4a894965d65659827cd75bd6b798..d04e0323c3f940344e6718fdd998898b645a971c 100644 (file)
@@ -24,8 +24,8 @@ class CryptoTest extends TestCase
                        return 1;
                });
 
-               self::assertSame(1, Crypto::randomDigits(1));
-               self::assertSame(11111111, Crypto::randomDigits(8));
+               self::assertSame('1', Crypto::randomDigits(1));
+               self::assertSame('11111111', Crypto::randomDigits(8));
        }
 
        public function testDiasporaPubRsaToMe()