Commit 7df7a61e8d03587740231c298e6d8fc541c9d72e

Authored by Neil Blakey-Milner
1 parent e4d123b0

Quick tests for helpentity


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3476 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 14 additions and 0 deletions
tests/help/helpentity.php 0 → 100644
  1 +<?php
  2 +
  3 +require_once("../../config/dmsDefaults.php");
  4 +require_once(KT_LIB_DIR . "/help/helpentity.inc.php");
  5 +
  6 +error_reporting(E_ALL);
  7 +
  8 +// var_dump(KTHelpReplacement::get(1));
  9 +$res = KTHelpEntity::createFromArray(array(
  10 + 'section' => 'foo',
  11 + 'filename' => 'bar',
  12 +));
  13 +
  14 +?>
... ...