File tree Expand file tree Collapse file tree
tests/Smartling/ContentTypes/Elementor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33namespace Smartling \ContentTypes \Elementor ;
44
5- use Smartling \ContentTypes \Elementor \ElementAbstract ;
65use PHPUnit \Framework \TestCase ;
7- use Smartling \Models \ RelatedContentInfo ;
6+ use Smartling \ContentTypes \ Elementor \ Elements \ Unknown ;
87
9- class TestableElementAbstract extends ElementAbstract
8+ class TestableElementAbstract extends Unknown
109{
1110 public function publicGetIntSettingByKey (string $ key , array $ settings ): ?int
1211 {
1312 return $ this ->getIntSettingByKey ($ key , $ settings );
1413 }
15-
16- public function getRelated (): RelatedContentInfo
17- {
18- return new RelatedContentInfo ();
19- }
20-
21- public function getTranslatableStrings (): array
22- {
23- return [];
24- }
25-
26- public function getType (): string
27- {
28- return 'test ' ;
29- }
3014}
3115
3216class ElementAbstractTest extends TestCase
You can’t perform that action at this time.
0 commit comments