Commit a94dd843aaed5f7b6ac279e2ff4ca0a46a0c7e20

Authored by Neil Blakey-Milner
1 parent 2f5b00a6

Test which upgrades are detected, and the order they will be performed.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3360 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 11 additions and 0 deletions
tests/upgrades/test_upgrade.php 0 → 100644
  1 +<?php
  2 +
  3 +require_once('../../config/dmsDefaults.php');
  4 +require_once(KT_LIB_DIR . '/upgrades/upgrade.inc.php');
  5 +
  6 +foreach (describeUpgrade('2.0.5', '2.0.6') as $step) {
  7 + print $step->getDescriptor() . "\n";
  8 + $step->performUpgrade();
  9 +}
  10 +
  11 +?>
... ...