Live Structure
This commit is contained in:
@@ -39,7 +39,6 @@ func TestStorageResource_ConvertToPricedResource_InvalidType(t *testing.T) {
|
||||
|
||||
func TestStorageResourceInstance_ClearEnv(t *testing.T) {
|
||||
inst := &resources.StorageResourceInstance{
|
||||
Credentials: &resources.Credentials{Login: "test"},
|
||||
ResourceInstance: resources.ResourceInstance[*resources.StorageResourcePartnership]{
|
||||
Env: []models.Param{{Attr: "A"}},
|
||||
Inputs: []models.Param{{Attr: "B"}},
|
||||
@@ -48,7 +47,6 @@ func TestStorageResourceInstance_ClearEnv(t *testing.T) {
|
||||
}
|
||||
|
||||
inst.ClearEnv()
|
||||
assert.Nil(t, inst.Credentials)
|
||||
assert.Empty(t, inst.Env)
|
||||
assert.Empty(t, inst.Inputs)
|
||||
assert.Empty(t, inst.Outputs)
|
||||
|
||||
Reference in New Issue
Block a user