MNT Change set of ids to limit in NonRelationalData test class

This commit is contained in:
Sabina Talipova 2024-05-28 13:46:12 +12:00
parent 47189c437c
commit d18f92e411

View File

@ -16,7 +16,7 @@ class NonRelationalData extends DataObject
public function getList() { public function getList() {
$list = ArrayList::create(); $list = ArrayList::create();
$data = Company::get()->byIDs([1,2,3,4,5]); $data = Company::get()->limit(5);
foreach ($data as $value) { foreach ($data as $value) {
$list->push($value); $list->push($value);
} }