Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_support/Helper/Unit.php')
-rw-r--r--tests/_support/Helper/Unit.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/_support/Helper/Unit.php b/tests/_support/Helper/Unit.php
deleted file mode 100644
index 014b0a07..00000000
--- a/tests/_support/Helper/Unit.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-/**
- * PHPPgAdmin6
- */
-
-namespace Helper;
-
-\defined('IN_TEST') || \define('IN_TEST', true);
-$bootstrapfile = \dirname(__DIR__, 3) . '/vendor/autoload.php';
-
-require_once $bootstrapfile;
-// here you can define custom actions
-// all public methods declared in helper class will be available in $I
-
-class Unit extends \Codeception\Module
-{
- /**
- * @var \PHPPgAdmin\ContainerUtils
- */
- private static $_container;
-
- private static $_conf;
-
- public static function getContainer()
- {
- //$conf = self::getConf();
- if (!static::$_container) {
- self::$_container = containerInstance();
- }
-
- //dump(PHP_SAPI);
-
- //\Codeception\Util\Debug::debug('BASE_PATH is ' . \BASE_PATH);
-
- return self::$_container;
- }
-}