aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/model_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/model_test.go')
-rw-r--r--internal/admin/model_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/model_test.go b/internal/admin/model_test.go
index 85d6ed1..6f8531d 100644
--- a/internal/admin/model_test.go
+++ b/internal/admin/model_test.go
@@ -299,7 +299,7 @@ func TestRepoReconcile(t *testing.T) {
},
}
repoPath := filepath.Join(tempDir, fmt.Sprintf("%s.git", repo.Name))
- repo.ReconcileRepo(tempDir)
+ _ = repo.ReconcileRepo(tempDir)
if _, err := os.Stat(repoPath); errors.Is(err, fs.ErrNotExist) {
t.Fatal("expected repo to be created, but does not exist")
}
@@ -314,7 +314,7 @@ bare = true
t.Fatal(err)
}
// re-reconcile
- repo.ReconcileRepo(tempDir)
+ _ = repo.ReconcileRepo(tempDir)
content, err := os.ReadFile(tempConfigFile)
if err != nil {
t.Fatal(err)