// SetAssetStatus is a mock implementation that returns a sample AssetInfo object and the error contained in the struct.
// This error can be used to test different code flows.
SetAssetStatus is a mock implementation that returns a sample AssetInfo object and the error contained in the struct.
This error can be used to test different code flows.
// SetAssetStatus is a mock implementation that returns a sample AssetInfo object and the error contained in the struct . // This error can be used to test different code flows .
func (m *MockDb) SetAssetStatus(assetID, status string) (*data.AssetInfo, error) {
	if m.Err == nil {
		return &data.AssetInfo{
			Name:         assetID,
			URL:          constants.MockURL,
			UploadStatus: status,
		}, nil
	}
	return nil, m.Err
}
func ( m * MockDb ) SetAssetStatus ( assetID , status string ) ( * data . AssetInfo , error ) { if m . Err == nil { return & data . AssetInfo { Name : assetID , URL : constants . MockURL , UploadStatus : status , } , nil } return nil , m . Err }
SetAssetStatus is a mock implementation that returns a sample AssetInfo object and the error contained in the struct.
SetAssetStatus is a mock implementation that returns a sample AssetInfo object and the error contained in the struct .