Skip to content

Commit 9a5d70c

Browse files
committed
PHPORM-235 Remove custom DatabaseTokenRepository
1 parent ca2082f commit 9a5d70c

File tree

4 files changed

+0
-123
lines changed

4 files changed

+0
-123
lines changed

src/Auth/DatabaseTokenRepository.php

-59
This file was deleted.

src/Auth/PasswordBrokerManager.php

-23
This file was deleted.

src/Auth/PasswordResetServiceProvider.php

-22
This file was deleted.

tests/TestCase.php

-19
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,15 @@
44

55
namespace MongoDB\Laravel\Tests;
66

7-
use Illuminate\Auth\Passwords\PasswordResetServiceProvider as BasePasswordResetServiceProviderAlias;
87
use Illuminate\Foundation\Application;
9-
use MongoDB\Laravel\Auth\PasswordResetServiceProvider;
108
use MongoDB\Laravel\MongoDBQueueServiceProvider;
119
use MongoDB\Laravel\MongoDBServiceProvider;
1210
use MongoDB\Laravel\Tests\Models\User;
1311
use MongoDB\Laravel\Validation\ValidationServiceProvider;
1412
use Orchestra\Testbench\TestCase as OrchestraTestCase;
1513

16-
use function array_search;
17-
1814
class TestCase extends OrchestraTestCase
1915
{
20-
/**
21-
* Get application providers.
22-
*
23-
* @param Application $app
24-
*/
25-
protected function getApplicationProviders($app): array
26-
{
27-
$providers = parent::getApplicationProviders($app);
28-
29-
unset($providers[array_search(BasePasswordResetServiceProviderAlias::class, $providers)]);
30-
31-
return $providers;
32-
}
33-
3416
/**
3517
* Get package providers.
3618
*
@@ -41,7 +23,6 @@ protected function getPackageProviders($app): array
4123
return [
4224
MongoDBServiceProvider::class,
4325
MongoDBQueueServiceProvider::class,
44-
PasswordResetServiceProvider::class,
4526
ValidationServiceProvider::class,
4627
];
4728
}

0 commit comments

Comments
 (0)