Browse Source

Update CMSTest.php

Belle Aerni 2 years ago
parent
commit
55e20d3f25
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tests/CMSTest.php

+ 4 - 1
tests/CMSTest.php

@@ -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);