mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
3fe3f8d1f6
commit
eb8cec2b96
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