mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-11 08:20:16 -04:00
s3 draft working
fix tests with DefaultWithPanic()
This commit is contained in:
parent
934722ae76
commit
0f942bafca
33 changed files with 548 additions and 194 deletions
|
@ -38,6 +38,8 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
|
||||
func TestNewUpdateableValidator(t *testing.T) {
|
||||
azureSEVSNP, err := config.DefaultForAzureSEVSNP()
|
||||
require.NoError(t, err)
|
||||
testCases := map[string]struct {
|
||||
variant variant.Variant
|
||||
config config.AttestationCfg
|
||||
|
@ -45,7 +47,7 @@ func TestNewUpdateableValidator(t *testing.T) {
|
|||
}{
|
||||
"azure": {
|
||||
variant: variant.AzureSEVSNP{},
|
||||
config: config.DefaultForAzureSEVSNP(),
|
||||
config: azureSEVSNP,
|
||||
},
|
||||
"gcp": {
|
||||
variant: variant.GCPSEVES{},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue