mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
This commit is contained in:
parent
a41cf18c23
commit
7fe8c11f99
@ -6,6 +6,7 @@ class BlogHolderTest extends SapphireTest {
|
|||||||
function testGetAllBlogEntries() {
|
function testGetAllBlogEntries() {
|
||||||
$mainblog = $this->objFromFixture('BlogHolder', 'mainblog');
|
$mainblog = $this->objFromFixture('BlogHolder', 'mainblog');
|
||||||
|
|
||||||
|
$this->assertNotNull($mainblog->Entries());
|
||||||
$this->assertEquals($mainblog->Entries()->Count(), 3);
|
$this->assertEquals($mainblog->Entries()->Count(), 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user