Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B committed Aug 5, 2024
1 parent 506cdd5 commit 92a45be
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 134 deletions.
134 changes: 0 additions & 134 deletions tests/autoload.php

This file was deleted.

40 changes: 40 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php

/**
* -------------------------------------------------------------------------------
* scim plugin for GLPI
* -------------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of scim plugin for GLPI.
*
* scim plugin for GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* scim plugin for GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with scim plugin for GLPI. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------------
* @copyright Copyright (C) 2022-2023 by Teclib'.
* @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html
* @link https://services.glpi-network.com
* -------------------------------------------------------------------------------
*/

global $CFG_GLPI, $PLUGIN_HOOKS;

define('GLPI_ROOT', __DIR__ . '/../../../');
define('GLPI_LOG_DIR', __DIR__ . '/files/_logs');

define('TU_USER', 'glpi');
define('TU_PASS', 'glpi');
define('GLPI_LOG_LVL', 'DEBUG');

require GLPI_ROOT . '/inc/includes.php';

0 comments on commit 92a45be

Please sign in to comment.