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, 4 insertions, 0 deletions
diff --git a/internal/admin/model_test.go b/internal/admin/model_test.go
index 5317335..0453d84 100644
--- a/internal/admin/model_test.go
+++ b/internal/admin/model_test.go
@@ -233,6 +233,10 @@ func TestMgmtGitConfig(t *testing.T) {
if err == nil {
t.Fatal("expected an cloning repo didn't find one")
}
+ if !errors.Is(err, ErrMgmtRepoNotFound) {
+ t.Fatalf("expected ErrMgmtRepoNotFound, got %v", err)
+ }
+
// check couldnt open file err
_, err = loadConfigFromGit(gitDir, "dne.yaml")
if err == nil {