mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MNT Change set of ids to limit in NonRelationalData test class
This commit is contained in:
parent
47189c437c
commit
d18f92e411
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user