Merge pull request #48072 from nextcloud/backport/48044/stable30

This commit is contained in:
Kate 2024-09-16 14:35:09 +02:00 committed by GitHub
commit cea10d643e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,9 +57,9 @@ class AssemblyStreamTest extends \Test\TestCase {
$tonofnodes = [];
$tonofdata = "";
for ($i = 0; $i < 101; $i++) {
$thisdata = rand(0, 100); // variable length and content
$thisdata = random_int(0, 100); // variable length and content
$tonofdata .= $thisdata;
array_push($tonofnodes, $this->buildNode($i, $thisdata));
$tonofnodes[] = $this->buildNode((string)$i, (string)$thisdata);
}
return[