Merge pull request #48044 from nextcloud/fix/cast-node-names-to-string

This commit is contained in:
John Molakvoæ 2024-09-16 11:08:50 +02:00 committed by GitHub
commit 816ffa469a
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[