webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js in katello-4.13.1 vs webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js in katello-4.14.0.rc1
- old
+ new
@@ -61,10 +61,11 @@
type: 'NORMAL',
product_name: 'zoo',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 1,
},
{
id: 4,
cp_id: 'ff8080815ea5ea44015ebb08e95a0024',
subscription_id: 3,
@@ -87,10 +88,11 @@
type: 'NORMAL',
product_name: 'hsdfhsdh',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 0,
},
],
});
export const quantitiesRequestSuccessResponse = Immutable({
@@ -108,10 +110,11 @@
subscription_id: '3802241',
local_pool_ids: [
4,
5,
],
+ product_host_count: 9469,
},
{
id: '6b123381519abf020151ab082c5e4678',
quantity: 400,
available: 40,
@@ -123,10 +126,11 @@
product_id: 'ABIC300',
subscription_id: '3808964',
local_pool_ids: [
6,
],
+ product_host_count: 9469,
},
],
page: 1,
per_page: 10,
search: null,
@@ -165,10 +169,11 @@
type: 'NORMAL',
product_name: 'zoo',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 1,
},
{
id: 4,
cp_id: 'ff8080815ea5ea44015ebb08e95a0024',
subscription_id: 3,
@@ -191,10 +196,11 @@
type: 'NORMAL',
product_name: 'hsdfhsdh',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 0,
},
],
searchIsActive: false,
search: undefined,
pagination: {
@@ -234,10 +240,11 @@
type: 'NORMAL',
product_name: 'zoo',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 1,
},
{
id: 4,
cp_id: 'ff8080815ea5ea44015ebb08e95a0024',
subscription_id: 3,
@@ -260,10 +267,11 @@
type: 'NORMAL',
product_name: 'hsdfhsdh',
unmapped_guest: false,
virt_only: false,
virt_who: false,
+ product_host_count: 0,
},
],
searchIsActive: false,
search: undefined,
pagination: {
@@ -452,10 +460,15 @@
{
key: 'quantity',
label: 'Entitlements',
value: true,
},
+ {
+ key: 'product_host_count',
+ label: 'Product Host Count',
+ value: true,
+ },
];
export const loadTableColumnsSuccessAction = [
{
type: 'UPDATE_SUBSCRIPTION_COLUMNS',
@@ -468,9 +481,10 @@
'end_date',
'virt_who',
'consumed',
'quantity',
'type',
+ 'product_host_count',
],
},
},
{
payload: {