1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 11:54:32 +02:00

Use flarum/testing for test infrastructure (#2545)

This commit is contained in:
Alexander Skvortsov
2021-03-07 16:32:41 -05:00
committed by GitHub
parent bc607e089e
commit 2c3e1f9923
74 changed files with 106 additions and 547 deletions

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation;
use Flarum\Foundation\Config;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
use InvalidArgumentException;
use RuntimeException;

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation;
use Flarum\Foundation\ContainerUtil;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
use Illuminate\Container\Container;
class ContainerUtilTest extends TestCase

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation\ErrorHandling\ExceptionHandler;
use Flarum\Foundation\ErrorHandling\ExceptionHandler\IlluminateValidationExceptionHandler;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
use Illuminate\Translation\ArrayLoader;
use Illuminate\Translation\Translator;
use Illuminate\Validation\Factory;

View File

@@ -11,7 +11,7 @@ namespace Flarum\Tests\unit\Foundation\ErrorHandling\ExceptionHandler;
use Flarum\Foundation\ErrorHandling\ExceptionHandler\ValidationExceptionHandler;
use Flarum\Foundation\ValidationException;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
class ValidationExceptionHandlerTest extends TestCase
{

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation;
use Flarum\Extension\ExtensionManager;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
class ExtensionDependencyResolutionTest extends TestCase
{

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation;
use Flarum\Foundation\Paths;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
use InvalidArgumentException;
class PathsTest extends TestCase

View File

@@ -10,7 +10,7 @@
namespace Flarum\Tests\unit\Foundation;
use Flarum\Http\RouteCollection;
use Flarum\Tests\unit\TestCase;
use Flarum\Testing\unit\TestCase;
use RuntimeException;
class RouteCollectionTest extends TestCase