mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
Merge pull request #181 from creative-commoners/pulls/1/nested-gridfield-behat-tests
MNT Change set of ids to limit in NonRelationalData test class
This commit is contained in:
commit
d27e8db91e
@ -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