Esempio n. 1
0
 public function testGetBoards()
 {
     $boards = $this->boardService->getBoards();
     $this->assertTrue(is_array($boards));
     $this->assertGreaterThanOrEqual(1, count($boards));
     $this->assertContainsOnlyInstancesOf("TigerKit\\Models\\Board", $boards);
 }
Esempio n. 2
0
 public function listBoards()
 {
     $boards = $this->boardService->getBoards();
     $this->slim->render('boards/list.phtml', ['boards' => $boards]);
 }