diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2024-09-16 14:40:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 14:40:45 +0200 |
commit | 440d8ea4b30111f65bc01274d50ad28f87091b78 (patch) | |
tree | b8ba181e881acb1a13a28fde8f91783cb1e49fe6 | |
parent | f2f60c20f92648e03013f9e06c57554b8c37634b (diff) | |
parent | 0c4287312d64f3fb555a9053c06aa781f4d0d60f (diff) | |
download | nextcloud-server-440d8ea4b30111f65bc01274d50ad28f87091b78.tar.gz nextcloud-server-440d8ea4b30111f65bc01274d50ad28f87091b78.zip |
Merge pull request #48070 from nextcloud/backport/48044/stable29
-rw-r--r-- | apps/dav/tests/unit/Upload/AssemblyStreamTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php index d39aec0915e..662c4896a9e 100644 --- a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php +++ b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php @@ -78,9 +78,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[ |