. */ declare(strict_types=1); namespace Tests\Feature\Controllers\Admin; use FireflyIII\Repositories\User\UserRepositoryInterface; use Illuminate\Support\Collection; use Tests\TestCase; /** * Class UserControllerTest * * @SuppressWarnings(PHPMD.TooManyPublicMethods) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class UserControllerTest extends TestCase { /** * @covers \FireflyIII\Http\Controllers\Admin\UserController::delete */ public function testDelete() { $this->be($this->user()); $response = $this->get(route('admin.users.delete', [1])); $response->assertStatus(200); // has bread crumb $response->assertSee('