test fixes shopping cart component
Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m18s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 7m8s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m21s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 13m24s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 3m45s
CI / testsuite (mysql, 8.4, ) (push) Successful in 19m22s
CI / Coding Standard & Static Analysis (push) Failing after 2m57s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 15m45s

This commit is contained in:
2026-01-23 22:40:45 -08:00
parent c6d3550272
commit 2be8341cf9
4 changed files with 90 additions and 12 deletions

View File

@@ -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';