scalar('SELECT ID from torrents_group'); if (!$tgroupId) { $this->assertTrue(true, 'skipped (no tgroup with open requests)'); return; } $reqMan = new Gazelle\Manager\Request; $tgMan = new Gazelle\Manager\TGroup; $this->assertIsString( Gazelle\Util\Twig::factory()->render('torrent/request.twig', [ 'list' => $reqMan->findByTGroup($tgMan->findById($tgroupId)) ]), 'render-tgroup-request-list' ); } }