. */ declare(strict_types=1); namespace Tests\Feature\Controllers\Account; use FireflyIII\Models\Transaction; use Tests\TestCase; /** * Class ConfigurationControllerTest * * @SuppressWarnings(PHPMD.TooManyPublicMethods) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class ReconcileControllerTest extends TestCase { /** * @covers \FireflyIII\Http\Controllers\Account\ReconcileController::edit */ public function testEdit() { $journal = $this->user()->transactionJournals()->where('transaction_type_id', 5)->first(); $this->be($this->user()); $response = $this->get(route('accounts.reconcile.edit', [$journal->id])); $response->assertStatus(200); // has bread crumb $response->assertSee('