芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/laravel/jetstream/stubs/tests/inertia/DeleteAccountTest.php
markTestSkipped('Account deletion is not enabled.'); } $this->actingAs($user = User::factory()->create()); $response = $this->delete('/user', [ 'password' => 'password', ]); $this->assertNull($user->fresh()); } public function test_correct_password_must_be_provided_before_account_can_be_deleted() { if (! Features::hasAccountDeletionFeatures()) { return $this->markTestSkipped('Account deletion is not enabled.'); } $this->actingAs($user = User::factory()->create()); $response = $this->delete('/user', [ 'password' => 'wrong-password', ]); $this->assertNotNull($user->fresh()); } }