Fix tests.

This commit is contained in:
James Cole 2016-05-05 19:04:21 +02:00
parent eb3d2b1749
commit 5cc22f49cf

View File

@ -150,7 +150,7 @@ class TransactionControllerTest extends TestCase
'date' => '2015-01-01',
];
$this->be($this->user());
$this->call('POST', '/transaction/update/1', $args);
$this->call('POST', '/transaction/update/4', $args);
$this->assertResponseStatus(302);
$this->assertSessionHas('success');
}