test element pdf path
This commit is contained in:
parent
2c79ab64ad
commit
6c6b3ad257
6 changed files with 72 additions and 0 deletions
|
|
@ -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',
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue