Skip to content

Commit

Permalink
Merge pull request #48044 from nextcloud/fix/cast-node-names-to-string
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Sep 16, 2024
2 parents 8a32881 + eb8cec2 commit 816ffa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dav/tests/unit/Upload/AssemblyStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public function providesNodes() {
$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[
Expand Down

0 comments on commit 816ffa4

Please sign in to comment.