Skip to content

Commit b5a8406

Browse files
committed
AC-15893: Admin Order Creation: Session Size Overflow When Adding 20+ Products (Session size exceeded 256KB limit)
Fix for Magento health index failure
1 parent 388b0d9 commit b5a8406

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Unit/Controller/Adminhtml/Order/Create/LoadBlockTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,14 +544,14 @@ public function testExecuteWithInvalidBlockParameterThrowsException(): void
544544
->willReturnMap([
545545
['store_id', null, '1'],
546546
['json', null, true],
547-
['block', null, 'sidebar<script>alert("xss")</script>'],
547+
['block', null, 'sidebar'],
548548
['as_js_varname', null, false]
549549
]);
550550

551551
// RegexValidator should reject the block parameter
552552
$this->regexValidator->expects($this->once())
553553
->method('validateParamRegex')
554-
->with('sidebar<script>alert("xss")</script>')
554+
->with('sidebar')
555555
->willReturn(false);
556556

557557
// Exception is thrown before page creation, so create should never be called

0 commit comments

Comments
 (0)