Skip to content

Commit b12d2ce

Browse files
chore(datastore): enable DataStore plugin interface tests in CI (#2235)
* chore(datastore): enable plugin interface tests in CI * chore: fix failing datastore plugin tests * chore: re-run CI
1 parent 34b4c01 commit b12d2ce

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ workflows:
437437
"amplify_authenticator",
438438
"amplify_core",
439439
"amplify_datastore",
440+
"amplify_datastore_plugin_interface",
440441
"amplify_flutter",
441442
"amplify_storage_s3"
442443
]

packages/amplify_datastore_plugin_interface/test/amplify_modelschema_to_map_test.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ void main() {
125125
'isReadOnly': false,
126126
'association': {
127127
'associationType': 'BelongsTo',
128+
// TODO(Jordan-Nelson): Remove `targetName` when API category has been
129+
// updated to support CPK changes.
128130
'targetName': 'postID',
131+
'targetNames': ['postID'],
129132
'associatedType': 'Post'
130133
},
131134
},
@@ -211,7 +214,10 @@ void main() {
211214
'isReadOnly': false,
212215
'association': {
213216
'associationType': 'BelongsTo',
217+
// TODO(Jordan-Nelson): Remove `targetName` when API category has been
218+
// updated to support CPK changes.
214219
'targetName': 'blogID',
220+
'targetNames': ['blogID'],
215221
'associatedType': 'Blog'
216222
}
217223
},

0 commit comments

Comments
 (0)