test: fix tests failing in ci

This commit is contained in:
Aleksey Kulikov 2021-10-27 17:35:20 +03:00
parent 7f0cd86e72
commit 0e329bd2b1
22 changed files with 291 additions and 257 deletions

View file

@ -64,7 +64,11 @@ void main() {
});
test('successfully creates note', () {
final signature = repo.defaultSignature;
final signature = Signature.create(
name: 'Author',
email: 'author@email.com',
time: 1234,
);
final head = repo.head;
final noteOid = repo.createNote(
author: signature,
@ -96,7 +100,11 @@ void main() {
});
test('successfully deletes note', () {
final signature = repo.defaultSignature;
final signature = Signature.create(
name: 'Author',
email: 'author@email.com',
time: 1234,
);
final head = repo.head;
repo.deleteNote(