Skip to content

Commit 46992f1

Browse files
committed
refactor: test case to Drift package
1 parent 97f9fac commit 46992f1

File tree

174 files changed

+243
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+243
-192
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"tempest/datetime": "self.version",
8080
"tempest/debug": "self.version",
8181
"tempest/discovery": "self.version",
82+
"tempest/drift": "self.version",
8283
"tempest/event-bus": "self.version",
8384
"tempest/generation": "self.version",
8485
"tempest/http": "self.version",
@@ -112,6 +113,7 @@
112113
"Tempest\\DateTime\\": "packages/datetime/src",
113114
"Tempest\\Debug\\": "packages/debug/src",
114115
"Tempest\\Discovery\\": "packages/discovery/src",
116+
"Tempest\\Drift\\": "packages/drift/src",
115117
"Tempest\\EventBus\\": "packages/event-bus/src",
116118
"Tempest\\Framework\\": "src/Tempest/Framework",
117119
"Tempest\\Generation\\": "packages/generation/src",
@@ -172,6 +174,7 @@
172174
"Tempest\\DateTime\\Tests\\": "packages/datetime/tests",
173175
"Tempest\\Debug\\Tests\\": "packages/debug/tests",
174176
"Tempest\\Discovery\\Tests\\": "packages/discovery/tests",
177+
"Tempest\\Drift\\Tests\\": "packages/drift/tests",
175178
"Tempest\\EventBus\\Tests\\": "packages/event-bus/tests",
176179
"Tempest\\Generation\\Tests\\": "packages/generation/tests",
177180
"Tempest\\HttpClient\\Tests\\": "packages/http-client/tests",

packages/auth/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"tempest/router": "dev-main",
88
"tempest/database": "dev-main"
99
},
10+
"require-dev": {
11+
"tempest/drift": "dev-main"
12+
},
1013
"autoload": {
1114
"psr-4": {
1215
"Tempest\\Auth\\": "src"

packages/auth/tests/Integration/AuthInstallerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace Tempest\Auth\Tests\Integration;
66

77
use Tempest\Core\Commands\InstallCommand;
8+
use Tempest\Drift\FrameworkIntegrationTestCase;
89
use Tempest\Support\Namespace\Psr4Namespace;
9-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
1010

1111
/**
1212
* @internal

packages/auth/tests/Integration/AuthorizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
use Tempest\Clock\Clock;
1414
use Tempest\Core\FrameworkKernel;
1515
use Tempest\Database\Migrations\CreateMigrationsTable;
16+
use Tempest\Drift\FrameworkIntegrationTestCase;
1617
use Tempest\Http\Session\Managers\FileSessionManager;
1718
use Tempest\Http\Session\SessionConfig;
1819
use Tempest\Http\Session\SessionManager;
1920
use Tempest\Support\Filesystem;
2021
use Tests\Tempest\Fixtures\Controllers\AdminController;
21-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
2222

2323
use function Tempest\Support\Filesystem;
2424
use function Tempest\uri;

packages/auth/tests/Integration/SessionAuthenticatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
use Tempest\Clock\Clock;
1515
use Tempest\Core\FrameworkKernel;
1616
use Tempest\Database\Migrations\CreateMigrationsTable;
17+
use Tempest\Drift\FrameworkIntegrationTestCase;
1718
use Tempest\Http\Session\Managers\FileSessionManager;
1819
use Tempest\Http\Session\Session;
1920
use Tempest\Http\Session\SessionConfig;
2021
use Tempest\Http\Session\SessionManager;
2122
use Tempest\Support\Filesystem;
22-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
2323

2424
use function Tempest\Support\Filesystem;
2525

packages/auth/tests/Integration/UserModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Tempest\Auth\Tests\Integration\Fixtures\UserPermissionBackedEnum;
1313
use Tempest\Auth\Tests\Integration\Fixtures\UserPermissionUnitEnum;
1414
use Tempest\Database\Migrations\CreateMigrationsTable;
15-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
15+
use Tempest\Drift\FrameworkIntegrationTestCase;
1616

1717
/**
1818
* @internal

packages/cache/tests/Integration/CacheClearCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Tempest\Cache\Tests\Integration;
66

77
use Tempest\Cache\ProjectCache;
8-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
8+
use Tempest\Drift\FrameworkIntegrationTestCase;
99

1010
/**
1111
* @internal

packages/cache/tests/Integration/CacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Tempest\Cache\ProjectCache;
1010
use Tempest\Clock\MockClock;
1111
use Tempest\DateTime\Duration;
12-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
12+
use Tempest\Drift\FrameworkIntegrationTestCase;
1313

1414
/**
1515
* @internal

packages/command-bus/tests/Integration/AsyncCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
use Tempest\CommandBus\AsyncCommandRepositories\MemoryRepository;
99
use Tempest\CommandBus\CommandRepository;
1010
use Tempest\CommandBus\Tests\Integration\Fixtures\MyAsyncCommand;
11+
use Tempest\Drift\FrameworkIntegrationTestCase;
1112
use Tempest\Highlight\Themes\TerminalStyle;
1213
use Tests\Tempest\Fixtures\Handlers\MyAsyncCommandHandler;
13-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
1414

1515
use function Tempest\command;
1616
use function Tempest\Support\arr;

packages/command-bus/tests/Integration/CommandBusTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
use Tempest\CommandBus\CommandBus;
88
use Tempest\CommandBus\CommandBusConfig;
99
use Tempest\CommandBus\CommandHandlerNotFound;
10+
use Tempest\Drift\FrameworkIntegrationTestCase;
1011
use Tests\Tempest\Fixtures\Commands\MyBrokenCommand;
1112
use Tests\Tempest\Fixtures\Commands\MyCommand;
1213
use Tests\Tempest\Fixtures\Commands\MyCommandBusMiddleware;
13-
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
1414

1515
use function Tempest\command;
1616

0 commit comments

Comments
 (0)