--- /dev/null
+<?php
+set_include_path(__DIR__.PATH_SEPARATOR. __DIR__ . "/../" . PATH_SEPARATOR . get_include_path());
+
+require_once(__DIR__."/../init.php");
+
+require_once(__DIR__."/AlloServeurTestNoDB.class.php");
+require_once(__DIR__."/AlloServeurTest.class.php");
+require_once(__DIR__."/../lib/dbupdate/DatabaseUpdate.class.php");
+
+define("TESTING",true);
+
+$sqlQuery = new SQLQuery($alloConfig->db_test_dsn,$alloConfig->db_test_user,$alloConfig->db_test_password);
+
+$databaseUpdate = new DatabaseUpdate(file_get_contents(DATABASE_FILE),$sqlQuery);
+$sqlCommand = $databaseUpdate->getDiff();
+
+foreach($sqlCommand as $sql) {
+ $sqlQuery->query($sql);
+}
+
+