mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #48044 from nextcloud/fix/cast-node-names-to-string
This commit is contained in:
commit
816ffa469a
1 changed files with 2 additions and 2 deletions
|
|
@ -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[
|
||||
|
|
|
|||
Loading…
Reference in a new issue