feat: add RichTextEditor component for rich text editing in articles
feat: create SanitizeBlogBodiesCommand to clean existing blog bodies according to current HTML sanitization policies test: add AppointmentTreatmentSessionLinkTest to ensure appointment booking functionality works correctly with treatment session links
This commit is contained in:
@@ -38,6 +38,19 @@ use App\Treatment\Entity\TreatmentSession;
|
||||
*/
|
||||
class StaffCrossTenantTest extends ApiTestCase
|
||||
{
|
||||
/**
|
||||
* این تست چند درخواستِ کرنل پشتسرهم میزند و هر کدام `$this->em` را کهنه
|
||||
* میکند. بدون ریست، همان نمونه به تست بعدی ارث میرسد و آنجا — نه اینجا —
|
||||
* با «Multiple non-persisted new entities» میشکند. همان دامی که
|
||||
* ApiLeastPrivilegeTest قبلاً برایش همین tearDown را گذاشت.
|
||||
*/
|
||||
protected function tearDown(): void
|
||||
{
|
||||
static::getContainer()->get('doctrine')->resetManager();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
private const LASER_SCHEMA = [
|
||||
['key' => 'shots', 'label' => 'شات', 'type' => 'number', 'required' => true, 'sort_order' => 0],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user