Beispiel #1
0
 /**
  * Test getTotalLinkPagesAndPostsByPublicInstances
  */
 function testGetTotalLinkPagesAndPostsByPublicInstances()
 {
     $pdao = new PostMySQLDAO();
     $totals = $pdao->getTotalLinkPagesAndPostsByPublicInstances(15);
     $this->assertTrue($totals["total_posts"] == 41);
     $this->assertTrue($totals["total_pages"] == 3);
 }