Skip to content

Commit c289e8d

Browse files
committed
Fix tests
1 parent 0919586 commit c289e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/powersync/test/crud_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void main() {
155155
equals([
156156
{
157157
'data':
158-
'{"op":"PUT","type":"logs","id":"$testId","data":{"content":"test log","level":"INFO"}}'
158+
'{"op":"PUT","type":"logs","id":"$testId","data":{"level":"INFO","content":"test log"}}'
159159
}
160160
]));
161161

@@ -231,7 +231,7 @@ void main() {
231231
equals([
232232
{
233233
'data':
234-
'{"op":"PATCH","type":"assets","id":"$testId","data":{"description":"updated","quantity":${bigNumber + 1}}}'
234+
'{"op":"PATCH","type":"assets","id":"$testId","data":{"quantity":${bigNumber + 1},"description":"updated"}}'
235235
}
236236
]));
237237
});

0 commit comments

Comments
 (0)