test fixes shopping cart component

This commit is contained in:
bs
2026-01-23 22:40:45 -08:00
parent c6d3550272
commit 2be8341cf9
4 changed files with 90 additions and 12 deletions
@@ -91,7 +91,6 @@ class CartItemsControllerTest extends TestCase {
];
$this->session(['Auth.User.id' => 1]);
$this->session(['Auth.id' => 1]);
$this->session(['CakeCarts.session_id' => 'session_1']);
$before = $this->CartItems->get($id, contain: ['Carts']);
// dd($before);
$skuId = '3a477e3e-7977-4813-81f6-f85949613979';