Skip to content

Commit bf18054

Browse files
cleanup test (WP-945)
1 parent fc511d6 commit bf18054

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

tests/Smartling/ContentTypes/Elementor/ElementAbstractTest.php

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,15 @@
22

33
namespace Smartling\ContentTypes\Elementor;
44

5-
use Smartling\ContentTypes\Elementor\ElementAbstract;
65
use 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

3216
class ElementAbstractTest extends TestCase

0 commit comments

Comments
 (0)