diff --git a/app/javascript/components/RequestCart.vue b/app/javascript/components/RequestCart.vue
index fd6ee07f..7b340807 100644
--- a/app/javascript/components/RequestCart.vue
+++ b/app/javascript/components/RequestCart.vue
@@ -84,7 +84,7 @@
-
+
View this item at the {
})
const button = getByRole('button')
await fireEvent.click(button)
- expect(addItemToCart).toHaveBeenCalledWith(expect.anything(), { accessRestrict: '', callnumber: 'AC101', containers: '', formParams: undefined, title: 'Title' })
+ expect(addItemToCart).toHaveBeenCalledWith(expect.anything(), { restricted: false, callnumber: 'AC101', containers: '', formParams: undefined, title: 'Title' })
})
})
|