diff --git a/packages/nextcloud/test/notes_test.dart b/packages/nextcloud/test/notes_test.dart index eaf4dd49..dbdbfcee 100644 --- a/packages/nextcloud/test/notes_test.dart +++ b/packages/nextcloud/test/notes_test.dart @@ -74,7 +74,13 @@ Future main() async { .id!; await validateResponse( client.notes, - client.notes.updateNoteWithHttpInfo(id, NotesNote(title: 'b')), + client.notes.updateNoteWithHttpInfo( + id, + NotesNote( + id: id, + title: 'b', + ), + ), ); final response = (await validateResponse( @@ -94,7 +100,10 @@ Future main() async { client.notes, client.notes.updateNoteWithHttpInfo( response.id!, - NotesNote(title: 'b'), + NotesNote( + id: response.id!, + title: 'b', + ), ifMatch: '"${response.etag}"', ), ); @@ -104,7 +113,10 @@ Future main() async { client.notes, client.notes.updateNoteWithHttpInfo( response.id!, - NotesNote(title: 'c'), + NotesNote( + id: response.id!, + title: 'c', + ), ifMatch: '"${response.etag}"', ), ),