Skip to content

Commit

Permalink
fix tests, use laminas
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Mar 12, 2020
1 parent b3f05ef commit 874c6f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/Exception/ExceptionHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
namespace Jgut\Slim\Exception\Tests;

use Jgut\Slim\Exception\Tests\Stubs\ExceptionHandlerStub;
use Laminas\Diactoros\ResponseFactory;
use Laminas\Diactoros\ServerRequest;
use PHPUnit\Framework\TestCase;
use Slim\Interfaces\ErrorHandlerInterface;
use Zend\Diactoros\ResponseFactory;
use Zend\Diactoros\ServerRequest;

/**
* Exception handling tests.
Expand Down
4 changes: 2 additions & 2 deletions tests/Exception/Handler/ErrorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
use Jgut\Slim\Exception\Renderer\HtmlRenderer;
use Jgut\Slim\Exception\Renderer\PlainTextRenderer;
use Jgut\Slim\Exception\Tests\Stubs\ErrorHandlerStub;
use Laminas\Diactoros\ResponseFactory;
use Laminas\Diactoros\ServerRequest;
use Negotiation\Negotiator;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Slim\Exception\HttpBadRequestException;
use Slim\Interfaces\CallableResolverInterface;
use Zend\Diactoros\ResponseFactory;
use Zend\Diactoros\ServerRequest;

/**
* Default error handler tests.
Expand Down
4 changes: 2 additions & 2 deletions tests/Exception/Whoops/Handler/ErrorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
use Jgut\Slim\Exception\Tests\Stubs\WhoopsErrorHandlerStub;
use Jgut\Slim\Exception\Whoops\Renderer\HtmlRenderer;
use Jgut\Slim\Exception\Whoops\Renderer\JsonRenderer;
use Laminas\Diactoros\ResponseFactory;
use Laminas\Diactoros\ServerRequest;
use Negotiation\Negotiator;
use PHPUnit\Framework\TestCase;
use Slim\Exception\HttpBadRequestException;
use Slim\Interfaces\CallableResolverInterface;
use Whoops\Run as Whoops;
use Zend\Diactoros\ResponseFactory;
use Zend\Diactoros\ServerRequest;

/**
* Whoops error handler tests.
Expand Down

0 comments on commit 874c6f6

Please sign in to comment.