test element pdf path

This commit is contained in:
Yisroel Baum 2026-05-27 20:15:51 +03:00
parent 2c79ab64ad
commit 6c6b3ad257
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
6 changed files with 72 additions and 0 deletions

View file

@ -27,6 +27,7 @@ class ElementsEndpointTest extends TestCase
title: 'Baderech HaAvodah',
description: 'A structured path for growth',
richText: '<p>A structured path for growth</p>',
pdfPath: '/assets/pdfs/baderech.pdf',
parentElement: null,
));
$firstChildElement = $elementRepository->create(new CreateElementDto(
@ -34,6 +35,7 @@ class ElementsEndpointTest extends TestCase
title: 'Avodah Foundations',
description: 'Foundations for steady avodah',
richText: '<p>Foundations rich text</p>',
pdfPath: '/assets/pdfs/foundations.pdf',
parentElement: $element,
));
$secondChildElement = $elementRepository->create(new CreateElementDto(
@ -41,6 +43,7 @@ class ElementsEndpointTest extends TestCase
title: 'Daily Practice',
description: 'Daily practices for growth',
richText: '<p>Daily practice rich text</p>',
pdfPath: null,
parentElement: $element,
));
@ -65,6 +68,7 @@ class ElementsEndpointTest extends TestCase
'title' => 'Baderech HaAvodah',
'description' => 'A structured path for growth',
'richText' => '<p>A structured path for growth</p>',
'pdfPath' => '/assets/pdfs/baderech.pdf',
],
]);
}