Ghost/apps/admin-x-settings/test
Daniel Lockyer 8a4e81fadd
Fixed splitting string into characters (#18480)
- quite funny because it's such a sneaky thing to discover
- this code actually results in looping over
`'xxxxx<,t,e,s,t,f,o,o,t,>'` and not an array of characters
- adding brackets fixes that

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 584ab6c</samp>

Fix a bug in the code injection test case for the admin settings app.
Ensure that the test code is properly padded and split by using
parentheses in the string concatenations.

---------

Co-authored-by: Jono Mingard <reason.koan@gmail.com>
2023-10-09 09:07:34 +01:00
..
acceptance Fixed splitting string into characters (#18480) 2023-10-09 09:07:34 +01:00
unit Added unit test for Embed Code Generator - AdminX (#18445) 2023-10-04 08:43:02 +07:00
utils Improved AdminX test coverage based on old admin tests (#18502) 2023-10-06 10:06:05 +01:00