Changes on the server.json format and the API (#562)
This commit is contained in:
parent
4962609697
commit
b21c6f564d
1 changed files with 4056 additions and 5608 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package validators_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
|
|
@ -1551,7 +1552,7 @@ func TestValidate_RegistryTypesAndUrls(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
err := validators.ValidatePublishRequest(serverJSON, &config.Config{
|
||||
err := validators.ValidatePublishRequest(context.Background(), serverJSON, &config.Config{
|
||||
EnableRegistryValidation: true,
|
||||
})
|
||||
if tc.expectError {
|
||||
|
|
|
|||
Loading…
Reference in a new issue