Skip to content

Commit 204959d

Browse files
rayliverifiedclaude
andcommitted
Fix the schema JSON test: the default field type is left out
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent c69c2e2 commit 204959d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/cloud_data_action_test.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ void main() {
9999
expect(back, schema);
100100
expect(back.field('author')!.referenceCollection, 'users');
101101
expect(back.field('missing'), isNull);
102+
// The default type is left out.
102103
expect((schema.toJson()['fields'] as List)[0], {
103104
'name': 'text',
104-
'type': 'text',
105105
'required': true,
106106
});
107107
});

0 commit comments

Comments
 (0)