From 790e1af298aa7c9f39fb7cfe15615307ed87d597 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 26 Jan 2025 22:21:29 +0100 Subject: Fix tests after adding git repos Use testdir to create directories to put test git in. Use custom test method to find githook binary. Stop using remote so that git repo doesn't try to fetch. --- server/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'server/Cargo.toml') diff --git a/server/Cargo.toml b/server/Cargo.toml index 3fb7bab..8ce6668 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -21,6 +21,7 @@ utoipa-swagger-ui = { version = "8", features = ["rocket", "vendored"], default- [dev-dependencies] stdext = "0.3.3" +testdir = "0.9.3" [[bin]] name = "eyeballs-githook" -- cgit v1.2.3-70-g09d2