be($this->user());
$this->call('get', route('transactions.index', ['transfer']));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('
');
}
/**
* @covers \FireflyIII\Http\Controllers\TransactionController::indexAll
*/
public function testIndexAll()
{
$this->be($this->user());
$this->call('get', route('transactions.index.all', ['transfer']));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('');
}
/**
* @covers \FireflyIII\Http\Controllers\TransactionController::indexByDate
*/
public function testIndexByDate()
{
$this->be($this->user());
$this->call('get', route('transactions.index.date', ['transfer', '2016-01-01']));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('');
}
/**
* @covers \FireflyIII\Http\Controllers\TransactionController::reorder
*/
public function testReorder()
{
$data = [
'items' => [],
];
$this->be($this->user());
$this->call('post', route('transactions.reorder'), $data);
$this->assertResponseStatus(200);
}
/**
* @covers \FireflyIII\Http\Controllers\TransactionController::show
*/
public function testShow()
{
$this->be($this->user());
$this->call('get', route('transactions.show', [1]));
$this->assertResponseStatus(200);
$this->see('');
}
}