draft tests

This commit is contained in:
mr
2025-06-16 13:48:32 +02:00
parent 48299810e0
commit 9fe72ea96e
22 changed files with 1364 additions and 47 deletions

View File

@@ -183,9 +183,9 @@ func (r *PricedStorageResource) GetPrice() (float64, error) {
if len(r.PricingProfiles) == 0 {
return 0, errors.New("pricing profile must be set on Priced Storage" + r.ResourceID)
}
r.SelectedPricing = &r.PricingProfiles[0]
r.SelectedPricing = r.PricingProfiles[0]
}
pricing := *r.SelectedPricing
pricing := r.SelectedPricing
var err error
amountOfData := float64(1)
if pricing.GetOverrideStrategyValue() >= 0 {