Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: cast node name and data to string
Signed-off-by: Anna Larch <[email protected]>
  • Loading branch information
miaulalala authored and backportbot[bot] committed Sep 16, 2024
commit 0c4287312d64f3fb555a9053c06aa781f4d0d60f
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 @@ -78,9 +78,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