Update CMSTest.php

This commit is contained in:
Belle Aerni 2023-01-09 10:55:34 -08:00
parent b60439a9a9
commit 55e20d3f25

View file

@ -17,7 +17,10 @@ class CMSTest extends TestCase
$this->assertEquals('AntCMS', $siteInfo['siteTitle']);
}
public function testRenderPage(){
public function testRenderPage()
{
AntPages::generatePages();
$antCMS = new AntCMS;
$pagePath = '/index.md';
$result = $antCMS->renderPage($pagePath);