Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
* **BREAKING CHANGE** Make Query\Builder return objects instead of array to match Laravel behavior by @GromNaN in [#3107](https://github.com/mongodb/laravel-mongodb/pull/3107)
* **BREAKING CHANGE** In DB query results, convert BSON `UTCDateTime` objects into `Carbon` date with the default timezone by @GromNaN in [#3119](https://github.com/mongodb/laravel-mongodb/pull/3119)
* Remove `MongoFailedJobProvider`, replaced by Laravel `DatabaseFailedJobProvider` by @GromNaN in [#3122](https://github.com/mongodb/laravel-mongodb/pull/3122)
* Remove custom `PasswordResetServiceProvider`, use the default `DatabaseTokenRepository` by @GromNaN in [#3124](https://github.com/mongodb/laravel-mongodb/pull/3124)
* Remove `Blueprint::background()` method by @GromNaN in [#3132](https://github.com/mongodb/laravel-mongodb/pull/3132)

## [4.8.0] - 2024-08-27
Expand Down
59 changes: 0 additions & 59 deletions src/Auth/DatabaseTokenRepository.php

This file was deleted.

23 changes: 0 additions & 23 deletions src/Auth/PasswordBrokerManager.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/Auth/PasswordResetServiceProvider.php

This file was deleted.

19 changes: 0 additions & 19 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,14 @@

namespace MongoDB\Laravel\Tests;

use Illuminate\Auth\Passwords\PasswordResetServiceProvider as BasePasswordResetServiceProviderAlias;
use Illuminate\Foundation\Application;
use MongoDB\Laravel\Auth\PasswordResetServiceProvider;
use MongoDB\Laravel\MongoDBServiceProvider;
use MongoDB\Laravel\Tests\Models\User;
use MongoDB\Laravel\Validation\ValidationServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;

use function array_search;

class TestCase extends OrchestraTestCase
{
/**
* Get application providers.
*
* @param Application $app
*/
protected function getApplicationProviders($app): array
{
$providers = parent::getApplicationProviders($app);

unset($providers[array_search(BasePasswordResetServiceProviderAlias::class, $providers)]);

return $providers;
}

/**
* Get package providers.
*
Expand All @@ -39,7 +21,6 @@ protected function getPackageProviders($app): array
{
return [
MongoDBServiceProvider::class,
PasswordResetServiceProvider::class,
ValidationServiceProvider::class,
];
}
Expand Down
Loading