Skip to content

Commit

Permalink
MNT Change set of ids to limit in NonRelationalData test class
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed May 28, 2024
1 parent 47189c4 commit d18f92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/fields/NestedGridField/NonRelationalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class NonRelationalData extends DataObject

public function getList() {
$list = ArrayList::create();
$data = Company::get()->byIDs([1,2,3,4,5]);
$data = Company::get()->limit(5);
foreach ($data as $value) {
$list->push($value);
}
Expand Down

0 comments on commit d18f92e

Please sign in to comment.