Compare commits

..

2 commits

Author SHA1 Message Date
37cb16798e refactor(server): collapse type module into gitforge module
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-21 19:38:38 +01:00
b03bd0c2e3 refactor(git): add mock repository and tests
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Failing after 2m27s
Repository is now behind an enum to allow selection of a mock Repsitory
for use in tests.
2024-05-21 19:33:28 +01:00

View file

@ -27,7 +27,6 @@ mod fetch {
use git_next_config::GitDir; use git_next_config::GitDir;
#[test] #[test]
#[ignore] // requires authentication to the server
fn should_fetch_from_repo() { fn should_fetch_from_repo() {
// uses the current repo and fetches from the remote server // uses the current repo and fetches from the remote server
let_assert!(Ok(cwd) = std::env::current_dir()); let_assert!(Ok(cwd) = std::env::current_dir());