test element icons
This commit is contained in:
parent
c5ea3640b7
commit
ac7af2463d
7 changed files with 80 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ class GetElementTest extends TestCase
|
|||
$set,
|
||||
'Baderech HaAvodah',
|
||||
'A structured path for growth',
|
||||
'/assets/baderech-icon.png',
|
||||
'<p>A structured path for growth</p>',
|
||||
'/assets/pdfs/baderech.pdf',
|
||||
'https://www.youtube.com/watch?v=yHx-r4p6hHU&t=1s',
|
||||
|
|
@ -49,6 +50,10 @@ class GetElementTest extends TestCase
|
|||
'A structured path for growth',
|
||||
$foundElement->getDescription(),
|
||||
);
|
||||
$this->assertSame(
|
||||
'/assets/baderech-icon.png',
|
||||
$foundElement->getIconImageUrl(),
|
||||
);
|
||||
$this->assertSame(
|
||||
'<p>A structured path for growth</p>',
|
||||
$foundElement->getRichText(),
|
||||
|
|
@ -70,6 +75,7 @@ class GetElementTest extends TestCase
|
|||
$set,
|
||||
'Baderech HaAvodah',
|
||||
'A structured path for growth',
|
||||
null,
|
||||
'<p>A structured path for growth</p>',
|
||||
'/assets/pdfs/baderech.pdf',
|
||||
null,
|
||||
|
|
@ -79,6 +85,7 @@ class GetElementTest extends TestCase
|
|||
$set,
|
||||
'Avodah Foundations',
|
||||
'Foundations for steady avodah',
|
||||
null,
|
||||
'<p>Foundations rich text</p>',
|
||||
'/assets/pdfs/foundations.pdf',
|
||||
null,
|
||||
|
|
@ -88,6 +95,7 @@ class GetElementTest extends TestCase
|
|||
$set,
|
||||
'Daily Practice',
|
||||
'Daily practices for growth',
|
||||
null,
|
||||
'<p>Daily practice rich text</p>',
|
||||
null,
|
||||
null,
|
||||
|
|
@ -97,6 +105,7 @@ class GetElementTest extends TestCase
|
|||
$set,
|
||||
'Nested Practice',
|
||||
'Nested description',
|
||||
null,
|
||||
'<p>Nested rich text</p>',
|
||||
null,
|
||||
null,
|
||||
|
|
@ -107,6 +116,7 @@ class GetElementTest extends TestCase
|
|||
$otherSet,
|
||||
'Other Parent',
|
||||
'Other parent description',
|
||||
null,
|
||||
'<p>Other parent rich text</p>',
|
||||
null,
|
||||
null,
|
||||
|
|
@ -116,6 +126,7 @@ class GetElementTest extends TestCase
|
|||
$otherSet,
|
||||
'Other Child',
|
||||
'Other child description',
|
||||
null,
|
||||
'<p>Other child rich text</p>',
|
||||
null,
|
||||
null,
|
||||
|
|
@ -178,6 +189,7 @@ class GetElementTest extends TestCase
|
|||
DomainSet $set,
|
||||
string $title,
|
||||
string $description,
|
||||
?string $iconImageUrl,
|
||||
string $richText,
|
||||
?string $pdfPath,
|
||||
?string $youtubeUrl,
|
||||
|
|
@ -187,6 +199,7 @@ class GetElementTest extends TestCase
|
|||
set: $set,
|
||||
title: $title,
|
||||
description: $description,
|
||||
iconImageUrl: $iconImageUrl,
|
||||
richText: $richText,
|
||||
pdfPath: $pdfPath,
|
||||
youtubeUrl: $youtubeUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue