mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00
Remove checks for GetState/SetState
This commit is contained in:
parent
f28e00659c
commit
9f599c3993
11 changed files with 182 additions and 1632 deletions
|
@ -65,11 +65,6 @@ func TestTerminator(t *testing.T) {
|
|||
state: someGCPState(),
|
||||
wantErr: true,
|
||||
},
|
||||
"gcp setState error": {
|
||||
gcpclient: &stubGcpClient{setStateErr: someErr},
|
||||
state: someGCPState(),
|
||||
wantErr: true,
|
||||
},
|
||||
"gcp terminateInstances error": {
|
||||
gcpclient: &stubGcpClient{terminateInstancesErr: someErr},
|
||||
state: someGCPState(),
|
||||
|
@ -99,11 +94,6 @@ func TestTerminator(t *testing.T) {
|
|||
state: someAzureState(),
|
||||
wantErr: true,
|
||||
},
|
||||
"azure setState error": {
|
||||
azureclient: &stubAzureClient{setStateErr: someErr},
|
||||
state: someAzureState(),
|
||||
wantErr: true,
|
||||
},
|
||||
"azure terminateServicePrincipal error": {
|
||||
azureclient: &stubAzureClient{terminateServicePrincipalErr: someErr},
|
||||
state: someAzureState(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue