And a commit that I don't know the reason of...
This commit is contained in:
@@ -14,7 +14,7 @@ use Siteworxpro\App\Traefik\RedisClient as RedisClientConcrete;
|
||||
*
|
||||
* This class provides a static interface to the RedisClientConcrete class.
|
||||
*
|
||||
* @method static void createOrReplace(string $name, array $data, EntityEnum $entity, ProtocolEnum $type = ProtocolEnum::HTTP)
|
||||
* @method static void createOrReplace(string $name, array $data, EntityEnum $entity, ProtocolEnum $type = ProtocolEnum::HTTP) // @codingStandardsIgnoreLine
|
||||
* @method static bool deleteAllKeys(string $name, EntityEnum $entity, ProtocolEnum $protocol = ProtocolEnum::HTTP)
|
||||
* @method static array getAllMiddlewares(ProtocolEnum $protocol = ProtocolEnum::HTTP)
|
||||
* @method static array getMiddleware(string $name, ProtocolEnum $protocol = ProtocolEnum::HTTP)
|
||||
@@ -42,4 +42,4 @@ class RedisClient extends Facade
|
||||
{
|
||||
return RedisClientConcrete::class;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -66,10 +66,10 @@ class ControllerTest extends Unit
|
||||
|
||||
$fooController->patch($request);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// This is a dummy controller for testing purposes
|
||||
// @codingStandardsIgnoreLine
|
||||
class FooController extends Controller
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
|
||||
|
||||
class MiddlewareControllerTest extends Unit
|
||||
{
|
||||
|
||||
/**
|
||||
* @throws \JsonException
|
||||
*/
|
||||
@@ -143,4 +142,4 @@ class MiddlewareControllerTest extends Unit
|
||||
$this->assertEquals(400, $response->getStatusCode());
|
||||
$this->assertEquals('{"error":"Middleware is invalid"}', (string)$response->getBody());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
|
||||
|
||||
class RoutesControllerTest extends Unit
|
||||
{
|
||||
|
||||
/**
|
||||
* @throws \JsonException
|
||||
*/
|
||||
@@ -157,4 +156,4 @@ class RoutesControllerTest extends Unit
|
||||
$this->assertEquals(400, $response->getStatusCode());
|
||||
$this->assertEquals('{"error":"Rule is required"}', (string)$response->getBody());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
|
||||
|
||||
class ServicesControllerTest extends Unit
|
||||
{
|
||||
|
||||
/**
|
||||
* @throws \JsonException
|
||||
*/
|
||||
@@ -160,4 +159,4 @@ class ServicesControllerTest extends Unit
|
||||
$this->assertEquals(400, $response->getStatusCode());
|
||||
$this->assertEquals('{"error":"Service name is required"}', (string)$response->getBody());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user