diff --git a/tests/Feature/AliasesCommandTest.php b/tests/Feature/AliasesCommandTest.php index af827df..fc9f989 100644 --- a/tests/Feature/AliasesCommandTest.php +++ b/tests/Feature/AliasesCommandTest.php @@ -22,20 +22,8 @@ public function theCommandIsSuccessful(): void if (config('app.aliases.Redis') === null) { AliasLoader::getInstance(['RedisManager' => \Illuminate\Support\Facades\Redis::class]); } - if (config('app.aliases.Date') === null) { - AliasLoader::getInstance(['Date' => \Illuminate\Support\Facades\Date::class]); - } - if (config('app.aliases.Js') === null) { - AliasLoader::getInstance(['Js' => \Illuminate\Support\Js::class]); - } - if (config('app.aliases.Process') === null) { - AliasLoader::getInstance(['Process' => \Illuminate\Support\Facades\Process::class]); - } - if (config('app.aliases.RateLimiter') === null) { - AliasLoader::getInstance(['RateLimiter' => \Illuminate\Support\Facades\RateLimiter::class]); - } - if (config('app.aliases.Vite') === null) { - AliasLoader::getInstance(['Vite' => \Illuminate\Support\Facades\Vite::class]); + if (config('app.aliases.Number') === null) { + AliasLoader::getInstance(['Number' => \Illuminate\Support\Number::class]); } config([ diff --git a/tests/expected/_ide_aliases.stub b/tests/expected/_ide_aliases.stub index 82e4405..74523ca 100644 --- a/tests/expected/_ide_aliases.stub +++ b/tests/expected/_ide_aliases.stub @@ -98,6 +98,10 @@ namespace { } + class Number extends \Illuminate\Support\Number + { + } + class Password extends \Illuminate\Support\Facades\Password { }