mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
test: fix tests failing in ci
This commit is contained in:
parent
7f0cd86e72
commit
0e329bd2b1
22 changed files with 291 additions and 257 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue