| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class ElementBlogPostsTest extends SapphireTest |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected static $fixture_file = '../fixtures.yml'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | */ |
||
| 21 | public function testGetSummary() |
||
| 22 | { |
||
| 23 | $object = $this->objFromFixture(ElementBlogPosts::class, 'one'); |
||
| 24 | $this->assertEquals($object->getSummary(), $object->dbObject("Content")->Summary(20)); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * |
||
| 29 | */ |
||
| 30 | public function testGetType() |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * |
||
| 38 | */ |
||
| 39 | public function testGetCMSFields() |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * |
||
| 49 | */ |
||
| 50 | public function testGetPostsList() |
||
| 56 |