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:
Guy Sartorelli 2024-05-28 13:50:52 +12:00 committed by GitHub
commit d27e8db91e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);
} }