From 30f0b2ee1f494be1786280040fb47ec18bde8a6d Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 12 Aug 2021 14:38:30 +0200 Subject: Fixed the pgp-related commit unit test problem --- test/unit/commit.unit.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/commit.unit.test.ts') diff --git a/test/unit/commit.unit.test.ts b/test/unit/commit.unit.test.ts index c8cc06f..e9e0e0d 100644 --- a/test/unit/commit.unit.test.ts +++ b/test/unit/commit.unit.test.ts @@ -48,7 +48,7 @@ describe("Commit", () => { let commit: Commit; beforeAll(async() => { - commit = await repository.head(); + commit = await Commit.lookup(repository, "8feb65c5467cc3ad48270183113a121c4a9f86ca"); }); it("Should get the stats", async() => { -- cgit v1.2.3-18-g5258