Commit 7cf0dc5
committed
Fix BaseRepositoryTests - handle package types that don't support local repos
Fixed P2PackageTypeRepositoryTests failure by checking if the package type
supports local repositories before creating virtualRepoIncludedRepo.
For package types that don't support local repos (like P2), we now fall back
to using GenericRepositorySettingsImpl. This ensures virtualRepoIncludedRepo
can always be created as a local repository.
This fixes: "Package type 'p2' is not supported in local repositories"1 parent e5a50fe commit 7cf0dc5
File tree
1 file changed
+5
-1
lines changed- services/src/test/groovy/org/jfrog/artifactory/client
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
0 commit comments