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/Unit/ContainerTest.php')
-rw-r--r--tests/Unit/ContainerTest.php35
1 files changed, 15 insertions, 20 deletions
diff --git a/tests/Unit/ContainerTest.php b/tests/Unit/ContainerTest.php
index 6f86a19a..c23af327 100644
--- a/tests/Unit/ContainerTest.php
+++ b/tests/Unit/ContainerTest.php
@@ -1,4 +1,9 @@
<?php
+
+/**
+ * PHPPgAdmin6
+ */
+
namespace Tests\Unit;
use PHPPgAdmin\ContainerUtils;
@@ -6,33 +11,23 @@ use PHPPgAdmin\Misc;
use Psr\Container\ContainerInterface;
use Slim\Views\Twig;
-beforeEach(function() {
- $this->container=containerInstance();
+beforeEach(function () {
+ $this->container = containerInstance();
$this->container->get('misc')->setNoDBConnection(true);
-
-
});
-
-
-
- it('Ensures container is instance of Slim ContainerInterface',function() {
- expect( $this->container)->toBeInstanceOf(ContainerInterface::class);
+ it('Ensures container is instance of Slim ContainerInterface', function () {
+ expect($this->container)->toBeInstanceOf(ContainerInterface::class);
});
-
- it('Ensures container is instance of ContainerUtils',function() {
- expect( $this->container)->toBeInstanceOf(ContainerUtils::class);
+ it('Ensures container is instance of ContainerUtils', function () {
+ expect($this->container)->toBeInstanceOf(ContainerUtils::class);
});
-
- it('Ensures container->misc is instance of PHPPgAdmin\Misc',function() {
- expect( $this->container->misc)->toBeInstanceOf( Misc::class);
+ it('Ensures container->misc is instance of PHPPgAdmin\Misc', function () {
+ expect($this->container->misc)->toBeInstanceOf(Misc::class);
});
-
- it('Ensures container->view is an instance of Slim\Views\Twig',function() {
- expect( $this->container->view)->toBeInstanceOf( Twig::class);
+ it('Ensures container->view is an instance of Slim\Views\Twig', function () {
+ expect($this->container->view)->toBeInstanceOf(Twig::class);
});
-
- \ No newline at end of file