Skip to content

Commit

Permalink
chore(datastore): Fix typo and add missing fields in test schema
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Mar 25, 2022
1 parent 2ec9b08 commit 9e074ed
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void main() {
var list = List.generate(
3, (i) => TemporalDate(dateTime.add(Duration(days: i))));
var models = List.generate(
5, (_) => ModelWithAppsyncScalarTypes(listOfAWSDataValue: list));
5, (_) => ModelWithAppsyncScalarTypes(listOfAWSDateValue: list));
testModelOperations(models: models);
});

Expand Down Expand Up @@ -248,7 +248,7 @@ void main() {
stringValue: 'string',
intValue: 1,
floatValue: 1.0,
boolValue: true,
booleanValue: true,
awsDateValue: TemporalDate(DateTime.utc(2021, 9, 22)),
awsDateTimeValue: TemporalDateTime(DateTime.utc(2021, 9, 22, 23, 0, 0)),
awsTimeValue: TemporalTime(DateTime.utc(2021, 9, 22, 0, 0, 0)),
Expand Down
Loading

0 comments on commit 9e074ed

Please sign in to comment.