ContainerRegistry - removed Basic Auth header (#19735)

* Removed Basic Auth header.

* Fixed test.
This commit is contained in:
KN4CK3R authored and GitHub committed 2022-05-17 19:58:42 +08:00
1 parent 6d54799bbc
commit 9ea9206406
2 files changed
+1 -5

No files matched your search

+1 -4
View File
@@ -66,10 +66,7 @@ func TestPackageContainer(t *testing.T) {
Token string `json:"token"`
}
authenticate := []string{
`Bearer realm="` + setting.AppURL + `v2/token"`,
`Basic`,
}
authenticate := []string{`Bearer realm="` + setting.AppURL + `v2/token"`}
t.Run("Anonymous", func(t *testing.T) {
defer PrintCurrentTest(t)()