@@ -42,65 +42,65 @@ public function tearDown(): void{ }
4242 public function testEmbeddedContentTypeEntry (): void
4343 {
4444 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::BLOCK ));
45- $ this ->assertEquals ($ resultString , '<div type="entry" sys-style-type="block" ><p>uid</p><p>Content type: <span>contentTypeUid</span></p></div> ' );
45+ $ this ->assertEquals ('<div type="entry" sys-style-type="block" ><p>uid</p><p>Content type: <span>contentTypeUid</span></p></div> ' , $ resultString );
4646
4747 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::INLINE ));
48- $ this ->assertEquals ($ resultString , '<span type="entry" sys-style-type="inline" >uid</span> ' );
48+ $ this ->assertEquals ('<span type="entry" sys-style-type="inline" >uid</span> ' , $ resultString );
4949
5050 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::LINK ));
51- $ this ->assertEquals ($ resultString , '<a type="entry" sys-style-type="link" ></a> ' );
51+ $ this ->assertEquals ('<a type="entry" sys-style-type="link" ></a> ' , $ resultString );
5252 }
5353
5454 public function testEmbeddedEntry (): void
5555 {
5656 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::BLOCK ));
57- $ this ->assertEquals ($ resultString , '<div type="entry" sys-style-type="block" ><p>title</p><p>Content type: <span>contentTypeUid</span></p></div> ' );
57+ $ this ->assertEquals ('<div type="entry" sys-style-type="block" ><p>title</p><p>Content type: <span>contentTypeUid</span></p></div> ' , $ resultString );
5858
5959 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::INLINE ));
60- $ this ->assertEquals ($ resultString , '<span type="entry" sys-style-type="inline" >title</span> ' );
60+ $ this ->assertEquals ('<span type="entry" sys-style-type="inline" >title</span> ' , $ resultString );
6161
6262 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::LINK ));
63- $ this ->assertEquals ($ resultString , '<a type="entry" sys-style-type="link" ></a> ' );
63+ $ this ->assertEquals ('<a type="entry" sys-style-type="link" ></a> ' , $ resultString );
6464 }
6565
6666 public function testEmbeddedAsset (): void
6767 {
6868 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedAsset , $ this ->getMetadata (EmbedItemType::ASSET , StyleType::DISPLAY ));
69- $ this ->assertEquals ($ resultString , '<img type="asset" sys-style-type="display" /> ' );
69+ $ this ->assertEquals ('<img type="asset" sys-style-type="display" /> ' , $ resultString );
7070
7171 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedAsset , $ this ->getMetadata (EmbedItemType::ASSET , StyleType::DOWNLOAD ));
72- $ this ->assertEquals ($ resultString , '<a type="asset" sys-style-type="download" ></a> ' );
72+ $ this ->assertEquals ('<a type="asset" sys-style-type="download" ></a> ' , $ resultString );
7373 }
7474 public function testEmbeddedContentTypeEntryWithText (): void
7575 {
7676 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::BLOCK , CustomOptionTest::$ text ));
77- $ this ->assertEquals ($ resultString , '<div type="entry" sys-style-type="block" ><p>uid</p><p>Content type: <span>contentTypeUid</span></p></div> ' );
77+ $ this ->assertEquals ('<div type="entry" sys-style-type="block" ><p>uid</p><p>Content type: <span>contentTypeUid</span></p></div> ' , $ resultString );
7878
7979 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::INLINE , CustomOptionTest::$ text ));
80- $ this ->assertEquals ($ resultString , '<span type="entry" sys-style-type="inline" >uid</span> ' );
80+ $ this ->assertEquals ('<span type="entry" sys-style-type="inline" >uid</span> ' , $ resultString );
8181
8282 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedContentType , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::LINK , CustomOptionTest::$ text ));
83- $ this ->assertEquals ($ resultString , '<a type="entry" sys-style-type="link" >Text To set Link</a> ' );
83+ $ this ->assertEquals ('<a type="entry" sys-style-type="link" >Text To set Link</a> ' , $ resultString );
8484 }
8585
8686 public function testEmbeddedEntryWithText (): void
8787 {
8888 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::BLOCK , CustomOptionTest::$ text ));
89- $ this ->assertEquals ($ resultString , '<div type="entry" sys-style-type="block" ><p>title</p><p>Content type: <span>contentTypeUid</span></p></div> ' );
89+ $ this ->assertEquals ('<div type="entry" sys-style-type="block" ><p>title</p><p>Content type: <span>contentTypeUid</span></p></div> ' , $ resultString );
9090
9191 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::INLINE , CustomOptionTest::$ text ));
92- $ this ->assertEquals ($ resultString , '<span type="entry" sys-style-type="inline" >title</span> ' );
92+ $ this ->assertEquals ('<span type="entry" sys-style-type="inline" >title</span> ' , $ resultString );
9393
9494 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedEntry , $ this ->getMetadata (EmbedItemType::ENTRY , StyleType::LINK , CustomOptionTest::$ text ));
95- $ this ->assertEquals ($ resultString , '<a type="entry" sys-style-type="link" >Text To set Link</a> ' );
95+ $ this ->assertEquals ('<a type="entry" sys-style-type="link" >Text To set Link</a> ' , $ resultString );
9696 }
9797
9898 public function testEmbeddedAssetWithText (): void
9999 {
100100 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedAsset , $ this ->getMetadata (EmbedItemType::ASSET , StyleType::DISPLAY , CustomOptionTest::$ text ));
101- $ this ->assertEquals ($ resultString , '<img type="asset" sys-style-type="display" /> ' );
101+ $ this ->assertEquals ('<img type="asset" sys-style-type="display" /> ' , $ resultString );
102102
103103 $ resultString = CustomOptionTest::$ customeRender ->renderOptions (CustomOptionTest::$ embeddedAsset , $ this ->getMetadata (EmbedItemType::ASSET , StyleType::DOWNLOAD , CustomOptionTest::$ text ));
104- $ this ->assertEquals ($ resultString , '<a type="asset" sys-style-type="download" >Text To set Link</a> ' );
104+ $ this ->assertEquals ('<a type="asset" sys-style-type="download" >Text To set Link</a> ' , $ resultString );
105105 }
106106}
0 commit comments