FIXED TEST
This commit is contained in:
parent
df72ab6a57
commit
c978f5ad6f
|
@ -11,6 +11,7 @@ import java.util.UUID;
|
||||||
import org.gcube.accounting.datamodel.UsageRecord.OperationResult;
|
import org.gcube.accounting.datamodel.UsageRecord.OperationResult;
|
||||||
import org.gcube.accounting.datamodel.basetypes.AbstractStorageStatusRecord;
|
import org.gcube.accounting.datamodel.basetypes.AbstractStorageStatusRecord;
|
||||||
import org.gcube.accounting.datamodel.basetypes.AbstractStorageUsageRecord;
|
import org.gcube.accounting.datamodel.basetypes.AbstractStorageUsageRecord;
|
||||||
|
import org.gcube.accounting.datamodel.basetypes.AbstractStorageUsageRecord.DataType;
|
||||||
import org.gcube.accounting.datamodel.usagerecords.JobUsageRecord;
|
import org.gcube.accounting.datamodel.usagerecords.JobUsageRecord;
|
||||||
import org.gcube.accounting.datamodel.usagerecords.PortletUsageRecord;
|
import org.gcube.accounting.datamodel.usagerecords.PortletUsageRecord;
|
||||||
import org.gcube.accounting.datamodel.usagerecords.ServiceUsageRecord;
|
import org.gcube.accounting.datamodel.usagerecords.ServiceUsageRecord;
|
||||||
|
@ -156,7 +157,7 @@ public class TestUsageRecord {
|
||||||
usageRecord.setConsumerId(TEST_CONSUMER_ID);
|
usageRecord.setConsumerId(TEST_CONSUMER_ID);
|
||||||
usageRecord.setOperationResult(TEST_OPERATION_RESULT);
|
usageRecord.setOperationResult(TEST_OPERATION_RESULT);
|
||||||
usageRecord.setDataVolume(generateRandomLong(MIN_DATA_VOLUME, MAX_DATA_VOLUME));
|
usageRecord.setDataVolume(generateRandomLong(MIN_DATA_VOLUME, MAX_DATA_VOLUME));
|
||||||
usageRecord.setDataType(AbstractStorageStatusRecord.DataType.STORAGE);
|
usageRecord.setDataType(DataType.STORAGE);
|
||||||
usageRecord.setDataCount(generateRandomLong(MIN_DATA_VOLUME, MAX_DATA_VOLUME));
|
usageRecord.setDataCount(generateRandomLong(MIN_DATA_VOLUME, MAX_DATA_VOLUME));
|
||||||
usageRecord.setDataServiceClass("dataServiceClass");
|
usageRecord.setDataServiceClass("dataServiceClass");
|
||||||
usageRecord.setDataServiceName("dataServiceName");
|
usageRecord.setDataServiceName("dataServiceName");
|
||||||
|
|
Loading…
Reference in New Issue