Skip to content

Commit

Permalink
Merge pull request #2608 from marmelab/fix-warning-in-select-in-put-test
Browse files Browse the repository at this point in the history
[RFR] Fix warning in SelectInput test
  • Loading branch information
Gildas Garcia authored Dec 3, 2018
2 parents c944109 + 02962ac commit 60fa0bd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/ra-ui-materialui/src/input/SelectInput.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ describe('<SelectInput />', () => {
<SelectInput
{...defaultProps}
choices={[
{ _id: 123, full_name: 'Leo Tolstoi', sex: 'M' },
{ _id: 456, full_name: 'Jane Austen', sex: 'F' },
{ _id: 1, full_name: 'System Administrator', sex: 'F', disabled: true }
{ id: 123, full_name: 'Leo Tolstoi', sex: 'M' },
{ id: 456, full_name: 'Jane Austen', sex: 'F' },
{
id: 1,
full_name: 'System Administrator',
sex: 'F',
disabled: true,
},
]}
/>
);
Expand Down

0 comments on commit 60fa0bd

Please sign in to comment.