Fix tests

This commit is contained in:
Art4 2025-02-06 08:33:18 +00:00
parent c7b1961d02
commit 006ff7be8f

View 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()