upgrade PHP dependencies (fix #247)

This commit is contained in:
Pig Fang 2021-01-01 19:03:58 +08:00
parent 5b7bf8e7aa
commit 64f2beda02
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
3 changed files with 1227 additions and 882 deletions

2105
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -275,7 +275,7 @@ return [
|
*/
'jwt' => Tymon\JWTAuth\Providers\JWT\Lcobucci::class,
'jwt' => Tymon\JWTAuth\Providers\JWT\Namshi::class,
/*
|--------------------------------------------------------------------------

View File

@ -764,7 +764,7 @@ class AuthControllerTest extends TestCase
$user = User::factory()->create();
$user->changePassword('12345678');
$this->postJson('/api/auth/login')->assertJson(['token' => false]);
$this->postJson('/api/auth/login')->assertJson(['token' => '']);
$token = $this->postJson('/api/auth/login', [
'email' => $user->email,
'password' => '12345678',